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

Breadcrumb

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

function AttributeInterface::setProvider

Sets the name of the provider of the attribute class.

Parameters

string $provider: The provider of the annotated class.

1 method overrides AttributeInterface::setProvider()
AttributeBase::setProvider in core/lib/Drupal/Component/Plugin/Attribute/AttributeBase.php
Sets the name of the provider of the attribute class.

File

core/lib/Drupal/Component/Plugin/Attribute/AttributeInterface.php, line 28

Class

AttributeInterface
Defines a common interface for classed attributes.

Namespace

Drupal\Component\Plugin\Attribute

Code

public function setProvider(string $provider) : void;

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal