config:import

Import configuration to current application.

Usage:

drupal config:import [options]
ci

Available options

Option Details
--file Path to an archive file of configuration to import.
--directory Path to a directory of configuration to import.
--remove-files Remove files after synchronization.

Examples

  • Provide a configuration file
    drupal config:import \
    --file=/path/to/config/file
    
  • Provide a configuration directory
    drupal config:import  \
    --directory=/path/to/config/dir