public function AnnotationInterface::setProvider in Service Container 7
Same name and namespace in other branches
- 7.2 lib/Drupal/Component/Annotation/AnnotationInterface.php \Drupal\Component\Annotation\AnnotationInterface::setProvider()
Sets the name of the provider of the annotated class.
Parameters
string $provider:
2 methods override AnnotationInterface::setProvider()
- AnnotationBase::setProvider in lib/
Drupal/ Component/ Annotation/ AnnotationBase.php - Sets the name of the provider of the annotated class.
- Plugin::setProvider in lib/
Drupal/ Component/ Annotation/ Plugin.php - Sets the name of the provider of the annotated class.
File
- lib/
Drupal/ Component/ Annotation/ AnnotationInterface.php, line 32 - Contains \Drupal\Component\Annotation\AnnotationInterface.
Class
- AnnotationInterface
- Defines a common interface for classed annotations.
Namespace
Drupal\Component\AnnotationCode
public function setProvider($provider);