-
-
Notifications
You must be signed in to change notification settings - Fork 555
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
Added Paragraph type export command #3880
Conversation
…mmand drupal config:export:paragraph:type
@LOBsTerr I agree a generic solution makes more sense. I didn't see your proposal, I just needed this for a project I was working on so thought I'd throw it back if it could be useful for someone |
@LOBsTerr I have to say I like those commands to export configurations and use the result on a custom profile. I also agree a generic solution one single command could be easy to maintain since is one command but maybe the code gets a little complex since is taking a lot of considerations. |
@jmolivas I'm absolutely agree with and in fact I have just a little bit extended the current code and I moved the common classes to the trait ExportTrait.php. Check the PR https://github.com/hechoendrupal/drupal-console/pull/3875/files |
@joe-mcpherson Hey i am trying to apply patch for this pull, not working with Drupal Console 1.0.1 version. I need to try this with dev version for Drupal Console? |
@joe-mcpherson Please ignore above message. Command worked with 1.8.0 version. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Quite up for this being merged in.
I was thinking why we limit us only to specific config entities and I added a new commit, which expose all config entities, because I have seen recently request about media type also. Please, test it #3875 |
I have merged #3875 |
Added Paragraph type export to export Paragraph type's fields with following command:
drupal config:export:paragraph:type
(Translation in separate pull request on drupal-console-en repository)