Same name and namespace in other branches
  1. 8.9.x core/lib/Drupal/Core/Template/AttributeValueBase.php \Drupal\Core\Template\AttributeValueBase::__toString()
  2. 9 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();