public function ContextInterface::hasReaction in Context 8.0
Same name and namespace in other branches
- 8.4 src/ContextInterface.php \Drupal\context\ContextInterface::hasReaction()
- 8 src/ContextInterface.php \Drupal\context\ContextInterface::hasReaction()
Check to see if the context has the specified reaction.
Parameters
string $reaction_id: The ID of the reaction to check for.
Return value
bool
1 method overrides ContextInterface::hasReaction()
- Context::hasReaction in src/
Entity/ Context.php - Check to see if the context has the specified reaction.
File
- src/
ContextInterface.php, line 214
Class
Namespace
Drupal\contextCode
public function hasReaction($reaction_id);