W3cubDocs

/Drupal 8

public function MarkupInterface::__toString

public 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();

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Component!Render!MarkupInterface.php/function/MarkupInterface::__toString/8.1.x