Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. AnnotationInterface.php

function AnnotationInterface::setProvider

Sets the name of the provider of the annotated class.

Parameters

string $provider: The provider of the annotated class.

2 methods override AnnotationInterface::setProvider()
AnnotationBase::setProvider in core/lib/Drupal/Component/Annotation/AnnotationBase.php
Sets the name of the provider of the annotated class.
Plugin::setProvider in core/lib/Drupal/Component/Annotation/Plugin.php
Sets the name of the provider of the annotated class.

File

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

Class

AnnotationInterface
Defines a common interface for classed annotations.

Namespace

Drupal\Component\Annotation

Code

public function setProvider($provider);
RSS feed
Powered by Drupal