protected static function Configuration::getStorageSystem in Configuration Management 7.2
Returns a class with its namespace to save data to the disk.
4 calls to Configuration::getStorageSystem()
- Configuration::configFileExists in lib/
Drupal/ configuration/ Config/ Configuration.php - Returns TRUE if the file that represents this configuration exists in the datastore.
- Configuration::getFileName in lib/
Drupal/ configuration/ Config/ Configuration.php - Returns the filename that contains the content of the current configuration.
- Configuration::getStorageInstance in lib/
Drupal/ configuration/ Config/ Configuration.php - Returns a Storage Object ready to load or write configurations from the disk.
- Configuration::scanDataStore in lib/
Drupal/ configuration/ Config/ Configuration.php - Returns the list of components available in the DataStore.
2 methods override Configuration::getStorageSystem()
- CtoolsConfiguration::getStorageSystem in lib/
Drupal/ configuration/ Config/ CtoolsConfiguration.php - Overrides Drupal\configuration\Config\Configuration::getStorageSystem().
- EntityApiConfiguration::getStorageSystem in lib/
Drupal/ configuration/ Config/ EntityApiConfiguration.php - Overrides Drupal\configuration\Config\Configuration::getStorageSystem().
File
- lib/
Drupal/ configuration/ Config/ Configuration.php, line 129 - Definition of Drupal\configuration\Config\Configuration.
Class
Namespace
Drupal\configuration\ConfigCode
protected static function getStorageSystem($component) {
$default = '\\Drupal\\configuration\\Storage\\StoragePhp';
// Specify a default Storage system
$return = variable_get('configuration_storage_system', $default);
// Allow to configure the Storage System per configuration component
$return = variable_get('configuration_storage_system_' . $component, $return);
return $return;
}