function AnnotationInterface::getProvider

Same name in other branches
  1. 9 core/lib/Drupal/Component/Annotation/AnnotationInterface.php \Drupal\Component\Annotation\AnnotationInterface::getProvider()
  2. 8.9.x core/lib/Drupal/Component/Annotation/AnnotationInterface.php \Drupal\Component\Annotation\AnnotationInterface::getProvider()
  3. 11.x core/lib/Drupal/Component/Annotation/AnnotationInterface.php \Drupal\Component\Annotation\AnnotationInterface::getProvider()

Gets the name of the provider of the annotated class.

Return value

string

3 methods override AnnotationInterface::getProvider()
AnnotationBase::getProvider in core/lib/Drupal/Component/Annotation/AnnotationBase.php
Gets the name of the provider of the annotated class.
MultipleProviderAnnotationInterface::getProvider in core/modules/migrate/src/Annotation/MultipleProviderAnnotationInterface.php
Gets the name of the provider of the annotated class.
Plugin::getProvider in core/lib/Drupal/Component/Annotation/Plugin.php
Gets the name of the provider of the annotated class.

File

core/lib/Drupal/Component/Annotation/AnnotationInterface.php, line 20

Class

AnnotationInterface
Defines a common interface for classed annotations.

Namespace

Drupal\Component\Annotation

Code

public function getProvider();

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.