interface ConstraintConditionInterface in Chaos Tool Suite (ctools) 8.3
Hierarchy
- interface \Drupal\ctools\ConstraintConditionInterface
Expanded class hierarchy of ConstraintConditionInterface
All classes that implement ConstraintConditionInterface
4 files declare their use of ConstraintConditionInterface
- ConditionConfigure.php in src/
Form/ ConditionConfigure.php - ConditionDelete.php in src/
Form/ ConditionDelete.php - EntityBundle.php in src/
Plugin/ Condition/ EntityBundle.php - NodeType.php in src/
Plugin/ Condition/ NodeType.php
File
- src/
ConstraintConditionInterface.php, line 6
Namespace
Drupal\ctoolsView source
interface ConstraintConditionInterface {
/**
* Applies relevant constraints for this condition to the injected contexts.
*
* @param \Drupal\Core\Plugin\Context\ContextInterface[] $contexts
*
* @return null
*/
public function applyConstraints(array $contexts = []);
/**
* Removes constraints for this condition from the injected contexts.
*
* @param \Drupal\Core\Plugin\Context\ContextInterface[] $contexts
*
* @return null
*/
public function removeConstraints(array $contexts = []);
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ConstraintConditionInterface:: |
public | function | Applies relevant constraints for this condition to the injected contexts. | 2 |
ConstraintConditionInterface:: |
public | function | Removes constraints for this condition from the injected contexts. | 2 |