public function GlobalVariable::__construct in More Global Variables 8
GlobalVariable constructor.
Parameters
array $configurations: Configuration that collected from createInstance() method.
See also
\Drupal\mgv\MgvPluginManager::createInstance()
File
- src/
Plugin/ GlobalVariable.php, line 28
Class
- GlobalVariable
- Class GlobalVariable.
Namespace
Drupal\mgv\PluginCode
public function __construct(array $configurations) {
$this->configurations = $configurations;
$this->dependency = empty($this->configurations['variableDependencies']) ? [] : $this->configurations['variableDependencies'];
}