Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Note that things vary when managing different configurations per environment. SeeĀ D8 Configuration Split.

Setup

  1. Make sure your settings.php defines the sync directory at sites/default/config. This can look like the following:

    Code Block
    if ($is_installer_url) {
     $config_directories = array(
     CONFIG_SYNC_DIRECTORY => 'sites/default/files',
     );
    }
    else {
     $config_directories = array(
     CONFIG_SYNC_DIRECTORY => 'sites/default/config',
     );
    }

  2. Export all the configuration from your site (using Saving Config Changes), and commit it to sites/default/config .

...