From 29dfd4d4cb9ef8b351ba7d7e10dbe4c62a78463c Mon Sep 17 00:00:00 2001 From: Joe McPherson Date: Tue, 1 May 2018 17:40:11 +0100 Subject: [PATCH] Added translation file for Paragraph type export to export Paragraph type's fields with command drupal config:export:paragraph:type --- translations/config.export.paragraph.type.yml | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 translations/config.export.paragraph.type.yml diff --git a/translations/config.export.paragraph.type.yml b/translations/config.export.paragraph.type.yml new file mode 100644 index 0000000..689b23e --- /dev/null +++ b/translations/config.export.paragraph.type.yml @@ -0,0 +1,23 @@ +description: 'Export a specific paragraph type and their fields.' +arguments: + paragraph-type: 'Paragraph Type to be exported' +questions: + paragraph-type: 'Paragraph Type to be exported' + optional-config: 'Export paragraph type in module as an optional configuration' +messages: + paragraph-type-exported: 'Exporting paragraph type' +options: + optional-config: 'Export paragraph type as an optional YAML configuration in your module' + remove-uuid: 'If set, the configuration will be exported without uuid key.' + remove-config-hash: 'If set, the configuration will be exported without the default site hash key.' +examples: + - description: 'Provide a paragraph type and module name' + execution: | + drupal config:export:paragraph:type page \ + --module="demo" + - description: 'If you want export paragraph type provide the optional config' + execution: | + drupal config:export:paragraph:type page \ + --module="demo" \ + --optional-config +