Skip to content

config:import

Import config from a config directory.

Arguments

  • [--label]. A config directory label (i.e. a key in \$config_directories array in settings.php).

Options

  • --preview[=PREVIEW]. Deprecated. Format for displaying proposed changes. Recognized values: list, diff. [default: list]
  • --source=SOURCE. An arbitrary directory that holds the configuration files. An alternative to label argument
  • --partial. Allows for partial config imports from the source directory. Only updates and new configs will be processed with this flag (missing configs will not be deleted). No config transformation happens.
  • --diff. Show preview as a diff.

Aliases

  • cim
  • config-import

Legend

  • An argument or option with square brackets is optional.
  • Any default value is listed at end of arg/option description.
  • An ellipsis indicates that an argument accepts multiple values separated by a space.