Skip to content
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 translation file for Paragraph type export command #207

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
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