AnnotationInterface

Defines a common interface for classed annotations. Hierarchy interface \Drupal\Component\Annotation\AnnotationInterface File core/lib/Drupal/Component/Annotation/AnnotationInterface.php, line 8 Namespace Drupal\Component\Annotation Members Name Modifiers Type Description AnnotationInterface::get public function Gets the value of an annotation. AnnotationInterface::getClass public function Gets the class of the annotated class. AnnotationInterface::getId publ

AnnotationBase::setProvider

public AnnotationBase::setProvider($provider) Sets the name of the provider of the annotated class. Parameters string $provider: Overrides AnnotationInterface::setProvider File core/lib/Drupal/Component/Annotation/AnnotationBase.php, line 41 Class AnnotationBase Provides a base class for classed annotations. Namespace Drupal\Component\Annotation Code public function setProvider($provider) { $this->provider = $provider; }

AnnotationBase::setClass

public AnnotationBase::setClass($class) Sets the class of the annotated class. Parameters string $class: Overrides AnnotationInterface::setClass File core/lib/Drupal/Component/Annotation/AnnotationBase.php, line 62 Class AnnotationBase Provides a base class for classed annotations. Namespace Drupal\Component\Annotation Code public function setClass($class) { $this->class = $class; }

AnnotationBase::getProvider

public AnnotationBase::getProvider() Gets the name of the provider of the annotated class. Return value string Overrides AnnotationInterface::getProvider File core/lib/Drupal/Component/Annotation/AnnotationBase.php, line 34 Class AnnotationBase Provides a base class for classed annotations. Namespace Drupal\Component\Annotation Code public function getProvider() { return $this->provider; }

AnnotationBase::getId

public AnnotationBase::getId() Gets the unique ID for this annotated class. Return value string Overrides AnnotationInterface::getId File core/lib/Drupal/Component/Annotation/AnnotationBase.php, line 48 Class AnnotationBase Provides a base class for classed annotations. Namespace Drupal\Component\Annotation Code public function getId() { return $this->id; }

AnnotationBase::getClass

public AnnotationBase::getClass() Gets the class of the annotated class. Return value string Overrides AnnotationInterface::getClass File core/lib/Drupal/Component/Annotation/AnnotationBase.php, line 55 Class AnnotationBase Provides a base class for classed annotations. Namespace Drupal\Component\Annotation Code public function getClass() { return $this->class; }

AnnotationBase::$provider

The provider of the annotated class. Type: string File core/lib/Drupal/Component/Annotation/AnnotationBase.php, line 29 Class AnnotationBase Provides a base class for classed annotations. Namespace Drupal\Component\Annotation Code protected $provider;

AnnotationBase::$id

The annotated class ID. Type: string File core/lib/Drupal/Component/Annotation/AnnotationBase.php, line 15 Class AnnotationBase Provides a base class for classed annotations. Namespace Drupal\Component\Annotation Code public $id;

AnnotationBase::$class

The class used for this annotated class. Type: string File core/lib/Drupal/Component/Annotation/AnnotationBase.php, line 22 Class AnnotationBase Provides a base class for classed annotations. Namespace Drupal\Component\Annotation Code protected $class;

AnnotationBase

Provides a base class for classed annotations. Hierarchy class \Drupal\Component\Annotation\AnnotationBase implements AnnotationInterface File core/lib/Drupal/Component/Annotation/AnnotationBase.php, line 8 Namespace Drupal\Component\Annotation Members Name Modifiers Type Description AnnotationBase::$class protected property The class used for this annotated class. AnnotationBase::$id public property The annotated class ID. AnnotationBase::$provider protected