function GeneratedLink::__toString
Returns markup.
Return value
string The markup.
Overrides MarkupInterface::__toString
2 calls to GeneratedLink::__toString()
- GeneratedLink::count in core/
lib/ Drupal/ Core/ GeneratedLink.php  - #[\ReturnTypeWillChange]
 - GeneratedLink::jsonSerialize in core/
lib/ Drupal/ Core/ GeneratedLink.php  - #[\ReturnTypeWillChange]
 
File
- 
              core/
lib/ Drupal/ Core/ GeneratedLink.php, line 53  
Class
- GeneratedLink
 - Used to return generated links, along with associated cacheability metadata.
 
Namespace
Drupal\CoreCode
public function __toString() {
  return (string) $this->generatedLink;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.