public function NameListFormattableMarkup::__toString in Name Field 8
Returns markup.
Return value
string The markup.
Overrides MarkupInterface::__toString
1 call to NameListFormattableMarkup::__toString()
File
- src/
Render/ NameListFormattableMarkup.php, line 41
Class
- NameListFormattableMarkup
- Formats a string for HTML display by replacing variable placeholders.
Namespace
Drupal\name\RenderCode
public function __toString() {
return $this
->escapeValues($this->names);
}