function MarkupInterface::__toString

Same name and namespace in other branches
  1. 11.x core/lib/Drupal/Component/Render/MarkupInterface.php \Drupal\Component\Render\MarkupInterface::__toString()
  2. 10 core/lib/Drupal/Component/Render/MarkupInterface.php \Drupal\Component\Render\MarkupInterface::__toString()
  3. 8.9.x core/lib/Drupal/Component/Render/MarkupInterface.php \Drupal\Component\Render\MarkupInterface::__toString()

Returns markup.

Return value

string The markup.

File

core/lib/Drupal/Component/Render/MarkupInterface.php, line 40

Class

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

Namespace

Drupal\Component\Render

Code

public function __toString();

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