You are here

public function ContextDefinition::get in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/lib/Drupal/Core/Annotation/ContextDefinition.php \Drupal\Core\Annotation\ContextDefinition::get()

Returns the value of an annotation.

Return value

\Drupal\Core\Plugin\Context\ContextDefinitionInterface

Overrides Plugin::get

File

core/lib/Drupal/Core/Annotation/ContextDefinition.php, line 135
Contains \Drupal\Core\Annotation\ContextDefinition.

Class

ContextDefinition
Defines a context definition annotation object.

Namespace

Drupal\Core\Annotation

Code

public function get() {
  return $this->definition;
}