public function ContextInterface::addCondition in Context 8
Same name and namespace in other branches
- 8.4 src/ContextInterface.php \Drupal\context\ContextInterface::addCondition()
- 8.0 src/ContextInterface.php \Drupal\context\ContextInterface::addCondition()
Set the conditions.
Parameters
array $configuration: The configuration for the condition plugin.
Return value
string
1 method overrides ContextInterface::addCondition()
- Context::addCondition in src/
Entity/ Context.php - Set the conditions.
File
- src/
ContextInterface.php, line 148
Class
Namespace
Drupal\contextCode
public function addCondition(array $configuration);