public AttributeBoolean::render()
Returns a string representation of the attribute.
While __toString only returns the value in a string form, render() contains the name of the attribute as well.
string The string representation of the attribute.
Overrides AttributeValueBase::render
public function render() { return $this->__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!Core!Template!AttributeBoolean.php/function/AttributeBoolean::render/8.1.x