Skip to content
This repository has been archived by the owner on Sep 12, 2019. It is now read-only.

Latest commit

 

History

History
33 lines (30 loc) · 940 Bytes

config-export-single.md

File metadata and controls

33 lines (30 loc) · 940 Bytes

config:export:single

Xuất cấu hình đơn giản như yml file

Usage:

drupal config:export:single [options]
ces

Available options

Option Details
--name commands.config.export.single.options.name
--directory commands.config.export.arguments.directory
--module Tên module.
--include-dependencies Export dependencies of the configuration as well.
--optional Export config 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

  • Provide config settings name to be exported
drupal config:export:single \
  --name=config.settings.name
  • if uuid and/or config hashes will be removed.
drupal config:export:single \
  --name=config.settings.name \
  --remove-uuid \
  --remove-config-hash