Skip to content
Permalink
Browse files

Export entity (#227)

* Replace wrong help text for debug.test.yml

* Add All option update message for bundle export

* Add options for view export to remove UUID

* Add example with options to remove UUID

* Add translation for include dependecies option
  • Loading branch information...
LOBsTerr authored and enzolutions committed May 27, 2019
1 parent 3b6de7f commit 9e3d67c8339c265fd041a4ff317e322786573b8c
@@ -7,12 +7,14 @@ questions:
optional-config: 'Export content type in module as an optional configuration'
all: 'All content types'
remove-config-hash: 'Content type to be exported without the default site hash key.'
include-module-dependencies: 'Include content type module dependencies in module info YAML file'
messages:
content-type-exported: 'Exporting content type'
options:
optional-config: 'Export content 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.'
include-module-dependencies: 'Include content type module dependencies in module info YAML file'
examples:
- description: 'Provide a content type and module name'
execution: |
@@ -22,4 +24,6 @@ examples:
execution: |
drupal config:export:content:type page \
--module="demo" \
--optional-config
--optional-config \
--remove-uuid \
--remove-config-hash
@@ -3,17 +3,20 @@ arguments:
entity-type: 'An entity type (node_type, taxonomy_vocabulary, paragraphs_type) to be exported'
bundle: 'A bundle to be exported'
questions:
all: 'All'
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.'
include-module-dependencies: 'Include bundle module dependencies in module info YAML file'
messages:
content-type-exported: 'Exporting bundle'
bundle-exported: 'Exporting bundle %s'
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.'
include-module-dependencies: 'Include bundle module dependencies in module info YAML file'
examples:
- description: 'Provide an entity type, a bundle and a module name'
execution: |
@@ -23,5 +26,7 @@ examples:
execution: |
drupal config:export:entity node_type page \
--module="demo" \
--optional-config
--optional-config \
--remove-uuid \
--remove-config-hash
@@ -7,11 +7,15 @@ questions:
view: 'View to be exported'
optional-config: 'Export view in module as an optional configuration'
include-module-dependencies: 'Include view module dependencies in module info YAML file'
remove-uuid: 'The view to be exported without uuid key.'
remove-config-hash: 'The view to be exported without the default site hash key.'
arguments:
view-id: 'View ID'
options:
optional-config: 'Export view as an optional YAML configuration in your module'
include-module-dependencies: 'Include module dependencies in module info YAML file'
include-module-dependencies: 'Include view module dependencies in module info YAML file'
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 view id'
execution: drupal config:export:view viewid
@@ -20,5 +24,7 @@ examples:
drupal config:export:view viewid \
--module="modulename" \
--optional-config \
--include-module-dependencies
--include-module-dependencies \
--remove-uuid \
--remove-config-hash

0 comments on commit 9e3d67c

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