public function AnnotationInterface::setClass in Plug 7
Sets the class of the annotated class.
Parameters
string $class:
2 methods override AnnotationInterface::setClass()
- AnnotationBase::setClass in lib/
Drupal/ Component/ Annotation/ AnnotationBase.php - Sets the class of the annotated class.
- Plugin::setClass in lib/
Drupal/ Component/ Annotation/ Plugin.php - Sets the class of the annotated class.
File
- lib/
Drupal/ Component/ Annotation/ AnnotationInterface.php, line 53 - Contains \Drupal\Component\Annotation\AnnotationInterface.
Class
- AnnotationInterface
- Defines a common interface for classed annotations.
Namespace
Drupal\Component\AnnotationCode
public function setClass($class);