public function ContextInterface::addReaction in Context 8.4
Same name and namespace in other branches
- 8 src/ContextInterface.php \Drupal\context\ContextInterface::addReaction()
- 8.0 src/ContextInterface.php \Drupal\context\ContextInterface::addReaction()
Add a context reaction.
Parameters
array $configuration: The reaction configuration array.
Return value
string The inserted reaction ID.
1 method overrides ContextInterface::addReaction()
- Context::addReaction in src/
Entity/ Context.php - Add a context reaction.
File
- src/
ContextInterface.php, line 220
Class
- ContextInterface
- Provides an interface for Context.
Namespace
Drupal\contextCode
public function addReaction(array $configuration);