public function ContextInterface::setRequireAllConditions in Context 8.4
Same name and namespace in other branches
- 8 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 This Context object.
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 138
Class
- ContextInterface
- Provides an interface for Context.
Namespace
Drupal\contextCode
public function setRequireAllConditions($require);