You are here

public function ContextInterface::setRequireAllConditions in Context 8

Same name and namespace in other branches
  1. 8.4 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

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

ContextInterface

Namespace

Drupal\context

Code

public function setRequireAllConditions($require);