Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions translations/config.export.paragraph.type.yml
Original file line number Diff line number Diff line change
@@ -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