function ContextConfig::setConfigKey
Sets an arbitrary configuration value under the given key.
This may be used for setting any configuration options that are not making use of the context system.
Parameters
string $key: The config key to set.
mixed $value: The value to set for the config key.
Return value
$this
1 call to ContextConfig::setConfigKey()
- ContextConfig::negateResult in src/
Context/ ContextConfig.php - Negates the result of the plugin (or not).
File
-
src/
Context/ ContextConfig.php, line 125
Class
- ContextConfig
- Class for value objects helping with context configuration.
Namespace
Drupal\rules\ContextCode
public function setConfigKey($key, $value) {
$this->config[$key] = $value;
return $this;
}