public function ConfigurationSettings::reset in Configuration Management 7.3
2 calls to ConfigurationSettings::reset()
- ConfigurationSettings::__construct in src/
Helpers/ ConfigurationSettings.php - ConfigurationSettingsList::__construct in src/
Helpers/ ConfigurationSettingsList.php
File
- src/
Helpers/ ConfigurationSettings.php, line 24
Class
Namespace
Configuration\HelpersCode
public function reset() {
$this->cache = array();
$this->base_settings_path = variable_get('configapi_base_settings_path', NULL);
if (empty($this->base_settings_path)) {
$this->base_settings_path = drupal_realpath('public://config');
}
$this->environment = variable_get('configapi_environment', 'dev');
$this->settings = $this
->defaultConfig();
}