function ConstraintConditionInterface::removeConstraints

Same name in other branches
  1. 8.x-3.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.

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

File

src/ConstraintConditionInterface.php, line 24

Class

ConstraintConditionInterface
Interface for Constraint Conditions

Namespace

Drupal\ctools

Code

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