function ConstraintConditionInterface::removeConstraints

Same name in other branches
  1. 4.0.x src/ConstraintConditionInterface.php \Drupal\ctools\ConstraintConditionInterface::removeConstraints()

Removes constraints for this condition from the injected contexts.

Parameters

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

1 method overrides ConstraintConditionInterface::removeConstraints()
EntityBundle::removeConstraints in src/Plugin/Condition/EntityBundle.php

File

src/ConstraintConditionInterface.php, line 24

Class

ConstraintConditionInterface
Interface for Constraint Conditions

Namespace

Drupal\ctools

Code

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