On this page
interface 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\AnnotationMembers
| 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 | public | function | Gets the unique ID for this annotated class. |
| AnnotationInterface::getProvider | public | function | Gets the name of the provider of the annotated class. |
| AnnotationInterface::setClass | public | function | Sets the class of the annotated class. |
| AnnotationInterface::setProvider | public | function | Sets the name of the provider of the annotated class. |
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Component!Annotation!AnnotationInterface.php/interface/AnnotationInterface/8.1.x