You are here

public function ContextInterface::setRequireAllConditions in Context 8.4

Same name and namespace in other branches
  1. 8 src/ContextInterface.php \Drupal\context\ContextInterface::setRequireAllConditions()
  2. 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\context

Code

public function setRequireAllConditions($require);