config:import:single

Import the selected configuration.

Usage:

drupal config:import:single  [options]
cis

Available options

OptionDetails

--file

The file(s) name or file(s) absolute path to import

--directory

Path to a directory of configuration to import.

Examples

Providing a file option using full path.

drupal config:import:single \
  --file="/path/to/file/block.block.default_block.yml"

Providing file and directory options

drupal config:import:single  \
  --file="block.block.default_block.yml" \
  --directory="/path/to/directory"