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

Breadcrumb

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

function AttributeValueBase::__construct

Constructs a \Drupal\Core\Template\AttributeValueBase object.

File

core/lib/Drupal/Core/Template/AttributeValueBase.php, line 38

Class

AttributeValueBase
Defines the base class for an attribute type.

Namespace

Drupal\Core\Template

Code

public function __construct($name, $value) {
    $this->name = $name;
    $this->value = $value;
}

API Navigation

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