function ConstraintConditionInterface::removeConstraints
Same name in other branches
- 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\ctoolsCode
public function removeConstraints(array $contexts = []);