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

The url generator.

Type: \Drupal\Core\Routing\UrlGeneratorInterface

File

core/lib/Drupal/Core/Routing/UrlGeneratorTrait.php, line 25

Class

UrlGeneratorTrait
Wrapper methods for the Url Generator.

Namespace

Drupal\Core\Routing

Code

protected $urlGenerator;