function TranslatableMarkup::__toString
Returns the string representation of this object.
Return value
string The string representation.
File
-
core/
lib/ Drupal/ Core/ StringTranslation/ TranslatableMarkup.php, line 234
Class
- TranslatableMarkup
- Provides translatable markup class.
Namespace
Drupal\Core\StringTranslationCode
public function __toString() : string {
return (string) $this->render();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.