1. 8.5.x core/lib/Drupal/Core/Routing/LinkGeneratorTrait.php LinkGeneratorTrait::linkGenerator
  2. 8.0.x core/lib/Drupal/Core/Routing/LinkGeneratorTrait.php LinkGeneratorTrait::linkGenerator
  3. 8.1.x core/lib/Drupal/Core/Routing/LinkGeneratorTrait.php LinkGeneratorTrait::linkGenerator
  4. 8.2.x core/lib/Drupal/Core/Routing/LinkGeneratorTrait.php LinkGeneratorTrait::linkGenerator
  5. 8.3.x core/lib/Drupal/Core/Routing/LinkGeneratorTrait.php LinkGeneratorTrait::linkGenerator
  6. 8.4.x core/lib/Drupal/Core/Routing/LinkGeneratorTrait.php LinkGeneratorTrait::linkGenerator
  7. 8.6.x core/lib/Drupal/Core/Routing/LinkGeneratorTrait.php LinkGeneratorTrait::linkGenerator

The link generator.

Type: \Drupal\Core\Utility\LinkGeneratorInterface

File

core/lib/Drupal/Core/Routing/LinkGeneratorTrait.php, line 27

Class

LinkGeneratorTrait
Wrapper methods for the Link Generator.

Namespace

Drupal\Core\Routing

Code

protected $linkGenerator;