original_string: public function evaluateContexts(array $provided = []) {
  
      $this->activeContexts = [];
  
      /** @var \Drupal\context\ContextInterface $context */
      foreach ($this->getContexts() as $context) {
        if ($this->evaluateContextConditions($context, $provided) && !$context->disabled()) {
          $this->activeContexts[$context->id()] = $context;
        }
      }
  
      $this->contextConditionsEvaluated = TRUE;
    }
code: public function evaluateContexts(array $provided = []) {
  
      $this->activeContexts = [];
  
      /** @var \Drupal\context\ContextInterface $context */
      foreach ($this->getContexts() as $context) {
        if ($this->evaluateContextConditions($context, $provided) && !$context->disabled()) {
          $this->activeContexts[$context->id()] = $context;
        }
      }
  
      $this->contextConditionsEvaluated = TRUE;
    }
code_tokens: public function evaluateContexts ( array $ provided = [ ] ) { $ this -> activeContexts = [ ] ; /** @var \Drupal\context\ContextInterface $context */ foreach ( $ this -> getContexts ( ) as $ context ) { if ( $ this -> evaluateContextConditions ( $ context , $ provided ) && ! $ context -> disabled ( ) ) { $ this -> activeContexts [ $ context -> id ( ) ] = $ context ; } } $ this -> contextConditionsEvaluated = TRUE ; }
docstring: Evaluate all context conditions.
  
  @param \Drupal\Core\Plugin\Context\Context[] $provided
  Additional provided (core) contexts to apply to Conditions.
docstring_tokens: Evaluate all context conditions .