config:export:single

Exporte une unique configuration sous la forme d'un fichier YAML.

Utilisation:

drupal config:export:single [options]
  ces

Options disponibles

Option Détails
--name Configuration name.
--directory Define the export directory to save the configuration output.
--module Le nom du module.
--include-dependencies Exportez également les dépendances d'une configuration.
--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.

Exemples

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