W3cubDocs

/Drupal 8

public function GeneratedLink::setGeneratedLink

public GeneratedLink::setGeneratedLink($generated_link)

Sets the generated link.

Parameters

string $generated_link: The generated link.

Return value

$this

File

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

Class

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

Namespace

Drupal\Core

Code

public function setGeneratedLink($generated_link) {
  $this->generatedLink = $generated_link;
  return $this;
}

© 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!GeneratedLink.php/function/GeneratedLink::setGeneratedLink/8.1.x