original_string: public function executeNodeReactions($reaction_type, NodeInterface $node) {
      $provider = new NodeContextProvider($node);
      $provided = $provider->getRuntimeContexts([]);
      $this->contextManager->evaluateContexts($provided);
  
      // Fire off index reactions.
      foreach ($this->contextManager->getActiveReactions($reaction_type) as $reaction) {
        $reaction->execute($node);
      }
    }
code: public function executeNodeReactions($reaction_type, NodeInterface $node) {
      $provider = new NodeContextProvider($node);
      $provided = $provider->getRuntimeContexts([]);
      $this->contextManager->evaluateContexts($provided);
  
      // Fire off index reactions.
      foreach ($this->contextManager->getActiveReactions($reaction_type) as $reaction) {
        $reaction->execute($node);
      }
    }
code_tokens: public function executeNodeReactions ( $ reaction_type , NodeInterface $ node ) { $ provider = new NodeContextProvider ( $ node ) ; $ provided = $ provider -> getRuntimeContexts ( [ ] ) ; $ this -> contextManager -> evaluateContexts ( $ provided ) ; // Fire off index reactions. foreach ( $ this -> contextManager -> getActiveReactions ( $ reaction_type ) as $ reaction ) { $ reaction -> execute ( $ node ) ; } }
docstring: Executes context reactions for a Node.
  
  @param string $reaction_type
  Reaction type.
  @param \Drupal\node\NodeInterface $node
  Node to evaluate contexts and pass to reaction.
docstring_tokens: Executes context reactions for a Node .