public function ContextInterface::addCondition in Context 8.4
Same name and namespace in other branches
- 8 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 The inserted condition ID.
1 method overrides ContextInterface::addCondition()
- Context::addCondition in src/
Entity/ Context.php - Set the conditions.
File
- src/
ContextInterface.php, line 168
Class
- ContextInterface
- Provides an interface for Context.
Namespace
Drupal\contextCode
public function addCondition(array $configuration);