function AttributeValueBase::__toString

Same name in other branches
  1. 9 core/lib/Drupal/Core/Template/AttributeValueBase.php \Drupal\Core\Template\AttributeValueBase::__toString()
  2. 10 core/lib/Drupal/Core/Template/AttributeValueBase.php \Drupal\Core\Template\AttributeValueBase::__toString()
  3. 11.x core/lib/Drupal/Core/Template/AttributeValueBase.php \Drupal\Core\Template\AttributeValueBase::__toString()

Implements the magic __toString() method.

3 methods override AttributeValueBase::__toString()
AttributeArray::__toString in core/lib/Drupal/Core/Template/AttributeArray.php
Implements the magic __toString() method.
AttributeBoolean::__toString in core/lib/Drupal/Core/Template/AttributeBoolean.php
Implements the magic __toString() method.
AttributeString::__toString in core/lib/Drupal/Core/Template/AttributeString.php
Implements the magic __toString() method.

File

core/lib/Drupal/Core/Template/AttributeValueBase.php, line 69

Class

AttributeValueBase
Defines the base class for an attribute type.

Namespace

Drupal\Core\Template

Code

public abstract function __toString();

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.