factorial-io / entity_scaffolder Goto Github PK
View Code? Open in Web Editor NEWDrush plugin to scaffold entities in Drupal
Home Page: https://factorial-io.github.io/entity_scaffolder
License: MIT License
Drush plugin to scaffold entities in Drupal
Home Page: https://factorial-io.github.io/entity_scaffolder
License: MIT License
Imagine that you've to build a custom paragraph widget in order to perform some customizations in the form that could not be achieved by other methods.
FE:
You have a paragraph field with a cardinality of 5 and you want the editor has the five slots open in a time.
Use a configuration item from the yaml that allows to get the paragraph widget and use the current paragraphs_embed as a fallback.
https://github.com/factorial-io/entity_scaffolder/blob/develop/Drush/EntityScaffolder/d7_1/templates/field/paragraphs/instance/feature.content.twig#L42
It would be great if the entity scaffolder can run the scaffolding process after scaffolding the project. This will create the helper module and the 2 feature modules, so people can reuse/ adapt the text formats.
Recently, when I tried using drush este to export strings for translation with context, it was completely ignored (strings were exported, but without any extra context). After digging deeper into the problem I've found we are using modified version of potx module, which has an issue with reading new way of arrays declaration ([] instead of array()). This was already resolved in new version of potx, but from what I see - it would be problematic to move to it at the moment. So in this case I would say a good option would be adapting the patch with a fix for newer version of potx to an existing one we use in ES. Link to patch - https://www.drupal.org/files/issues/2598910-20.patch
Imagine a project where you share your codebase for multiple instalations.
In that project, you decide to use a parent theme and a subtheme for every instalation were you can customize the appearence for that specific installation.
In that case may be necessary to execute some preprocess for all subthemes in order to avoid redundant code.
For some reason when scaffolder is run in linux environment, it fails to add some spaces before placeholder's.
Entity reference field is missing additional widget_settings / type_settings.
Case with referencing the webform, we are not able to add additional settings like allow_clone, allow_existing, allow_new etc.
For the lost souls like me please add a link to the Drupal 8 version: https://github.com/factorial-io/phab-entity-scaffolder/
Thank you :)
Paragraph items are not being displayed in the same order they were sorted from the UI.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.