abstract public function ToStringTrait::render
abstract public ToStringTrait::render()
Renders the object as a string.
Return value
string|object The rendered string or an object implementing __toString().
File
- core/lib/Drupal/Component/Utility/ToStringTrait.php, line 41
Class
- ToStringTrait
- Wraps __toString in a trait to avoid some fatals.
Namespace
Drupal\Component\UtilityCode
abstract public function render();
© 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!Utility!ToStringTrait.php/function/ToStringTrait::render/8.1.x