function AttributeValueBase::__construct
Same name in other branches
- 9 core/lib/Drupal/Core/Template/AttributeValueBase.php \Drupal\Core\Template\AttributeValueBase::__construct()
- 10 core/lib/Drupal/Core/Template/AttributeValueBase.php \Drupal\Core\Template\AttributeValueBase::__construct()
- 11.x core/lib/Drupal/Core/Template/AttributeValueBase.php \Drupal\Core\Template\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\TemplateCode
public function __construct($name, $value) {
$this->name = $name;
$this->value = $value;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.