public function Plugin::__construct

Constructs a Plugin object.

Builds up the plugin definition and invokes the get() method for any classed annotations that were used.

File

drupal/core/lib/Drupal/Core/Annotation/Plugin.php, line 38
Definition of Drupal\Core\Annotation\Plugin.

Class

Plugin
Defines a Plugin annotation object.

Namespace

Drupal\Core\Annotation

Code

public function __construct($values) {
  $this->definition = $this
    ->parse($values);
}