public function AttributeValueBase::__construct in Zircon Profile 8
Same name and namespace in other branches
- 8.0 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 42 - Contains \Drupal\Core\Template\AttributeValueBase.
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;
}