W3cubDocs

/Drupal 8

public function ContextDefinition::get

public 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 130

Class

ContextDefinition
Defines a context definition annotation object.

Namespace

Drupal\Core\Annotation

Code

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

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Annotation!ContextDefinition.php/function/ContextDefinition::get/8.1.x