constant CONFIG_SYNC_DIRECTORY in Drupal 8
$config_directories key for sync directory.
Deprecated
in drupal:8.8.0 and is removed from drupal:9.0.0. Use \Drupal\Core\Site\Settings::get('config_sync_directory') instead.
See also
https://www.drupal.org/node/3018145
4 uses of CONFIG_SYNC_DIRECTORY
- ConfigImporterTest::testConfigGetConfigDirectory in core/
tests/ Drupal/ KernelTests/ Core/ Config/ ConfigImporterTest.php - Tests config_get_config_directory().
- config_get_config_directory in core/
includes/ bootstrap.inc - Returns the path of a configuration directory.
- drupal_install_config_directories in core/
includes/ install.inc - Creates the config directory and ensures it is operational.
- KernelTestBase::prepareConfigDirectories in core/
modules/ simpletest/ src/ KernelTestBase.php - Create and set new configuration directories.
File
- core/
includes/ bootstrap.inc, line 172 - Functions that need to be loaded on every Drupal request.
Code
const CONFIG_SYNC_DIRECTORY = 'sync';