Link::$linkGenerator

Same name and namespace in other branches
  1. 9 core/lib/Drupal/Core/Link.php \Drupal\Core\Link::linkGenerator
  2. 8.9.x core/lib/Drupal/Core/Link.php \Drupal\Core\Link::linkGenerator
  3. 10 core/lib/Drupal/Core/Link.php \Drupal\Core\Link::linkGenerator

The link generator.

Type: \Drupal\Core\Utility\LinkGeneratorInterface

File

core/lib/Drupal/Core/Link.php, line 18

Class

Link
Defines an object that holds information about a link.

Namespace

Drupal\Core

Code

protected $linkGenerator;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.