function GeneratedLink::__toString

Same name and namespace in other branches
  1. 11.x core/lib/Drupal/Core/GeneratedLink.php \Drupal\Core\GeneratedLink::__toString()

File

core/lib/Drupal/Core/GeneratedLink.php, line 53

Class

GeneratedLink
Used to return generated links, along with associated cacheability metadata.

Namespace

Drupal\Core

Code

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.