Skip to content

Create a FieldTrait to gather a list of fields for commands #2057

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
cosmicdreams opened this issue Mar 23, 2016 · 0 comments
Open

Create a FieldTrait to gather a list of fields for commands #2057

cosmicdreams opened this issue Mar 23, 2016 · 0 comments

Comments

@cosmicdreams
Copy link
Contributor

Last night on Drupal and Coffee we started making a FieldTrait that would gather up all the fields from a Drupal site so that we could have a wizard pick one and then pass that info to some kind of field generator.

Kind of like FormTrait and the Form Generator.

I think it would be really impressive if we could leverage a FieldTrait to create a command where you generate a content type / custom entity / thingy and then generate all the fields that should be associated with it.

A common frustration during the content modeling part of a project is having to click through all the pages for fields. If we had a command that did this then we'd be able to make all the decisions for the fields up front and then batch all the config generation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant