function ConstraintConditionInterface::applyConstraints

Same name in other branches
  1. 8.x-3.x src/ConstraintConditionInterface.php \Drupal\ctools\ConstraintConditionInterface::applyConstraints()

Applies relevant constraints for this condition to the injected contexts.

Parameters

\Drupal\Core\Plugin\Context\ContextInterface[] $contexts: Contexts to apply.

3 methods override ConstraintConditionInterface::applyConstraints()
EntityBundle::applyConstraints in src/Plugin/Condition/EntityBundle.php
EntityBundleConstraint::applyConstraints in src/Plugin/Condition/EntityBundleConstraint.php
NodeType::applyConstraints in src/Plugin/Condition/NodeType.php

File

src/ConstraintConditionInterface.php, line 16

Class

ConstraintConditionInterface
Interface for Constraint Conditions

Namespace

Drupal\ctools

Code

public function applyConstraints(array $contexts = []);