public function ContextInterface::setRequireAllConditions in Context 8
Same name and namespace in other branches
- 8.4 src/ContextInterface.php \Drupal\context\ContextInterface::setRequireAllConditions()
- 8.0 src/ContextInterface.php \Drupal\context\ContextInterface::setRequireAllConditions()
Set if all conditions should be required for this context to validate.
Parameters
bool $require: If a condition is required or not.
Return value
$this
1 method overrides ContextInterface::setRequireAllConditions()
- Context::setRequireAllConditions in src/
Entity/ Context.php - Set if all conditions should be required for this context to validate.
File
- src/
ContextInterface.php, line 121
Class
Namespace
Drupal\contextCode
public function setRequireAllConditions($require);