You are here

public function Context::requiresAllConditions in Context 8.4

Same name and namespace in other branches
  1. 8 src/Entity/Context.php \Drupal\context\Entity\Context::requiresAllConditions()
  2. 8.0 src/Entity/Context.php \Drupal\context\Entity\Context::requiresAllConditions()

If the context requires all conditions to validate.

Return value

bool TRUE if all conditions are required, FALSE if not.

Overrides ContextInterface::requiresAllConditions

File

src/Entity/Context.php, line 240

Class

Context
Defines the Context entity.

Namespace

Drupal\context\Entity

Code

public function requiresAllConditions() {
  return $this->requireAllConditions;
}