You are here

public function ContextInterface::getReaction in Context 8.4

Same name and namespace in other branches
  1. 8 src/ContextInterface.php \Drupal\context\ContextInterface::getReaction()
  2. 8.0 src/ContextInterface.php \Drupal\context\ContextInterface::getReaction()

Get a reaction with the specified ID.

Parameters

string $reaction_id: The ID of the reaction to get.

Return value

ContextReactionInterface A specific reaction.

1 method overrides ContextInterface::getReaction()
Context::getReaction in src/Entity/Context.php
Get a reaction with the specified ID.

File

src/ContextInterface.php, line 209

Class

ContextInterface
Provides an interface for Context.

Namespace

Drupal\context

Code

public function getReaction($reaction_id);