You are here

public function ContextInterface::hasReaction in Context 8.0

Same name and namespace in other branches
  1. 8.4 src/ContextInterface.php \Drupal\context\ContextInterface::hasReaction()
  2. 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

ContextInterface

Namespace

Drupal\context

Code

public function hasReaction($reaction_id);