Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. PluginID.php

function PluginID::get

Same name in this branch
  1. 11.1.x core/lib/Drupal/Component/Plugin/Attribute/PluginID.php \Drupal\Component\Plugin\Attribute\PluginID::get()

Overrides AnnotationInterface::get

File

core/lib/Drupal/Component/Annotation/PluginID.php, line 24

Class

PluginID
Defines a Plugin annotation object that just contains an ID.

Namespace

Drupal\Component\Annotation

Code

public function get() {
    return [
        'id' => $this->value,
        'class' => $this->class,
        'provider' => $this->provider,
    ];
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal