public function StoragePhp::import in Configuration Management 7.2
Overrides Storage::import
1 call to StoragePhp::import()
- StoragePhp::load in lib/
Drupal/ configuration/ Storage/ StoragePhp.php - Loads the configuration object from the DataStore.
File
- lib/
Drupal/ configuration/ Storage/ StoragePhp.php, line 56 - Definition of Drupal\configuration\Storage\StoragePhp.
Class
Namespace
Drupal\configuration\StorageCode
public function import($file_content) {
@eval($file_content);
$this->data = isset($data) ? $data : NULL;
$this->dependencies = isset($dependencies) ? $dependencies : array();
$this->optional_configurations = isset($optional) ? $optional : array();
$this->required_modules = isset($modules) ? $modules : array();
$this->api_version = isset($api) ? $api : '0';
return $this;
}