Skip to content
Permalink
Browse files

Config export entity translation (conflict resolved) (#221)

* Add missing translation string for content type config export: remove uuid and remove config hash

* Add translation file for config:export:entity
  • Loading branch information...
GuidoRobertone authored and enzolutions committed Apr 30, 2019
1 parent 06d39bc commit 2614db70621d7c5a49145201c43522046536e480
Showing with 27 additions and 0 deletions.
  1. +27 −0 translations/config.export.entity.yml
@@ -0,0 +1,27 @@
description: 'Export a specific config entity and their fields.'
arguments:
entity-type: 'An entity type (node_type, taxonomy_vocabulary, paragraphs_type) to be exported'
bundle: 'A bundle to be exported'
questions:
entity-type: 'Select entity type'
bundle: 'A bundle to be exported'
remove-uuid: 'The bundle to be exported without uuid key.'
optional-config: 'Export the bundle in the module as an optional configuration'
remove-config-hash: 'The bundle to be exported without the default site hash key.'
messages:
content-type-exported: 'Exporting bundle'
options:
optional-config: 'Export bundle 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 an entity type, a bundle and a module name'
execution: |
drupal config:export:entity node_type page \
--module="demo"
- description: 'If you want export a bundle as an optional config'
execution: |
drupal config:export:entity node_type page \
--module="demo" \
--optional-config

0 comments on commit 2614db7

Please sign in to comment.
You can’t perform that action at this time.