Skip to content
Permalink
Browse files

Add fixes from documentation repository (#240)

  • Loading branch information...
harold20 authored and enzolutions committed Jun 27, 2019
1 parent 15fb213 commit cdc910fb3bbb17b6b8d267677ded8a991afdfffd
@@ -16,11 +16,11 @@ options:
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'
- description: 'Provide a content type and module name.'
execution: |
drupal config:export:content:type page \
--module="demo"
- description: 'If you want export content type provide the optional config'
- description: 'Export content type as an optional config for the provided module.'
execution: |
drupal config:export:content:type page \
--module="demo" \
@@ -19,11 +19,11 @@ messages:
invalid-config-name: 'Invalid config name, please select one of the list'
config-exported: 'Configuration(s) exported successfully'
examples:
- description: 'Provide config settings name to be exported'
- description: 'Provide config settings name to be exported.'
execution: |
drupal config:export:single \
--name=config.settings.name
- description: 'if uuid and/or config hashes will be removed.'
- description: 'Export with uuid and config hashes removed.'
execution: |
drupal config:export:single \
--name=config.settings.name \
@@ -1,4 +1,4 @@
description: 'Export a view in YAML format inside a provided module to reuse in other website.'
description: 'Export a view in YAML format inside a provided module to reuse in another website.'
messages:
view-exported: 'View exported sucessfully'
depencies-included: 'The following module dependencies were included at "%s"'
@@ -17,14 +17,19 @@ options:
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'
- description: 'Perform a simple export.'
execution: drupal config:export:view viewid
- description: 'You can provide the interactive values like parameter.'
- description: 'Export as optional config for the provided module.'
execution: |
drupal config:export:view viewid \
--module="modulename" \
--optional-config \
--include-module-dependencies \
--remove-uuid \
--remove-config-hash
- description: "Export as config for the provided module, updating the module's info.yml with any module dependencies from the view."
execution: |
drupal config:export:view viewid \
--module="modulename" \
--optional-config \
--include-module-dependencies
@@ -14,7 +14,7 @@ examples:
execution: |
drupal config:export \
--directory="path/to/export"
- description: 'If export will be in a compressed file and/or if uuid and config hashes will be removed.'
- description: 'Export as a compressed file with uuid and config hashes removed'
execution: |
drupal config:export \
--directory="path/to/export" \

0 comments on commit cdc910f

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