AttributeValueBase::__construct
public function AttributeValueBase::__construct
public AttributeValueBase::__construct($name, $value)
Constructs a \Drupal\Core\Template\AttributeValueBase object.
File
- core/lib/Drupal/Core/Template/AttributeValueBase.php, line 37
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; }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Template!AttributeValueBase.php/function/AttributeValueBase::__construct/8.1.x