You are here

public function VariableConfiguration::__construct in Configuration Management 7.2

Overrides Drupal\configuration\Config\Configuration::__construct().

Overrides Configuration::__construct

File

lib/Drupal/configuration/Config/VariableConfiguration.php, line 20
Definition of Drupal\configuration\Config\VariableConfiguration.

Class

VariableConfiguration

Namespace

Drupal\configuration\Config

Code

public function __construct($identifier, $component = '') {
  $this->variable_name = $identifier;
  parent::__construct(str_replace(' ', '_', $identifier));
}