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

Breadcrumb

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

function AttributeBase::__construct

Parameters

string $id: The attribute class ID.

2 methods override AttributeBase::__construct()
IconExtractor::__construct in core/lib/Drupal/Core/Theme/Icon/Attribute/IconExtractor.php
Constructs a new IconExtractor instance.
Plugin::__construct in core/lib/Drupal/Component/Plugin/Attribute/Plugin.php
Constructs a plugin attribute object.

File

core/lib/Drupal/Component/Plugin/Attribute/AttributeBase.php, line 26

Class

AttributeBase
Provides a base class for classed attributes.

Namespace

Drupal\Component\Plugin\Attribute

Code

public function __construct(string $id) {
}

API Navigation

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