You are here

public function Plugin::get in Zircon Profile 8

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

Gets the value of an annotation.

Overrides AnnotationInterface::get

2 methods override Plugin::get()
ContextDefinition::get in core/lib/Drupal/Core/Annotation/ContextDefinition.php
Returns the value of an annotation.
EntityType::get in core/lib/Drupal/Core/Entity/Annotation/EntityType.php
Gets the value of an annotation.

File

core/lib/Drupal/Component/Annotation/Plugin.php, line 78
Contains \Drupal\Component\Annotation\Plugin.

Class

Plugin
Defines a Plugin annotation object.

Namespace

Drupal\Component\Annotation

Code

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