public function AttributeValueBase::__construct

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

File

drupal/core/lib/Drupal/Core/Template/AttributeValueBase.php, line 41
Definition of Drupal\Core\Template\AttributeValueBase.

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;
}