'; * // Produces: . * @endcode * * @see \Drupal\Core\Template\Attribute */ class AttributeString extends AttributeValueBase { /** * Implements the magic __toString() method. */ public function __toString() { return Html::escape((string) $this->value); } }