Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. GeneratedLink.php

function GeneratedLink::setGeneratedLink

Sets the generated link.

Parameters

string $generated_link: The generated link.

Return value

$this

File

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

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;
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal