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\Template

Code

public function __construct($name, $value) {
  $this->name = $name;
  $this->value = $value;
}
doc_Drupal
2016-10-29 08:45:08
Comments
Leave a Comment

Please login to continue.