You are here

public function MarkupInterface::__toString in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/lib/Drupal/Component/Render/MarkupInterface.php \Drupal\Component\Render\MarkupInterface::__toString()

Returns markup.

Return value

string The markup.

4 methods override MarkupInterface::__toString()
Attribute::__toString in core/lib/Drupal/Core/Template/Attribute.php
Implements the magic __toString() method.
FormattableMarkup::__toString in core/lib/Drupal/Component/Render/FormattableMarkup.php
Returns markup.
GeneratedLink::__toString in core/lib/Drupal/Core/GeneratedLink.php
Returns markup.
HtmlEscapedText::__toString in core/lib/Drupal/Component/Render/HtmlEscapedText.php
Returns markup.

File

core/lib/Drupal/Component/Render/MarkupInterface.php, line 46
Contains \Drupal\Component\Render\MarkupInterface.

Class

MarkupInterface
Marks an object's __toString() method as returning markup.

Namespace

Drupal\Component\Render

Code

public function __toString();