static FileStorageFactory::getActive()
Returns a FileStorage object working with the active config directory.
Return value
\Drupal\Core\Config\FileStorage FileStorage
Deprecated
in Drupal 8.0.x and will be removed before 9.0.0. Drupal core no longer creates an active directory.
File
- core/lib/Drupal/Core/Config/FileStorageFactory.php, line 18
Class
- FileStorageFactory
- Provides a factory for creating config file storage objects.
Namespace
Drupal\Core\Config
Code
static function getActive() { return new FileStorage(config_get_config_directory(CONFIG_ACTIVE_DIRECTORY)); }
Please login to continue.