function ContextDefinitionInterface::isSatisfiedBy

Same name in other branches
  1. 9 core/lib/Drupal/Core/Plugin/Context/ContextDefinitionInterface.php \Drupal\Core\Plugin\Context\ContextDefinitionInterface::isSatisfiedBy()
  2. 8.9.x core/lib/Drupal/Core/Plugin/Context/ContextDefinitionInterface.php \Drupal\Core\Plugin\Context\ContextDefinitionInterface::isSatisfiedBy()
  3. 11.x core/lib/Drupal/Core/Plugin/Context/ContextDefinitionInterface.php \Drupal\Core\Plugin\Context\ContextDefinitionInterface::isSatisfiedBy()

Determines if this definition is satisfied by a context object.

Parameters

\Drupal\Core\Plugin\Context\ContextInterface $context: The context object.

Return value

bool TRUE if this definition is satisfiable by the context object, FALSE otherwise.

1 method overrides ContextDefinitionInterface::isSatisfiedBy()
ContextDefinition::isSatisfiedBy in core/lib/Drupal/Core/Plugin/Context/ContextDefinition.php
Determines if this definition is satisfied by a context object.

File

core/lib/Drupal/Core/Plugin/Context/ContextDefinitionInterface.php, line 33

Class

ContextDefinitionInterface
Interface to define definition objects in ContextInterface via TypedData.

Namespace

Drupal\Core\Plugin\Context

Code

public function isSatisfiedBy(ContextInterface $context);

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.