config:export

Exportă configurările curente ale aplicației.

Usage:

drupal config:export  [options]
ce

Available options

OptionDetails

--directory

Define the export directory to save the configuration output.

--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.

--tar

If set, the configuration will be exported to an archive file.

Examples

Optional you can add the path to export

drupal config:export  \
  --directory="path/to/export"

If export will be in a compressed file and/or if uuid and config hashes will be removed.

drupal config:export  \
  --directory="path/to/export" \
  --tar \
  --remove-uuid \
  --remove-config-hash