You are here

public function ContextDefinitionInterface::isSatisfiedBy in Drupal 8

Same name and namespace in other branches
  1. 9 core/lib/Drupal/Core/Plugin/Context/ContextDefinitionInterface.php \Drupal\Core\Plugin\Context\ContextDefinitionInterface::isSatisfiedBy()
  2. 10 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);