config:export

Exporte la configuration actuelle de l'application.

Utilisation:

drupal config:export  [options]
ce

Options disponibles

OptionDétails

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

Exemples

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