function MarkupInterface::__toString
Same name and namespace in other branches
- 11.x core/lib/Drupal/Component/Render/MarkupInterface.php \Drupal\Component\Render\MarkupInterface::__toString()
- 10 core/lib/Drupal/Component/Render/MarkupInterface.php \Drupal\Component\Render\MarkupInterface::__toString()
- 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\RenderCode
public function __toString();
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.