Url::$urlGenerator

Same name and namespace in other branches
  1. 8.9.x core/lib/Drupal/Core/Url.php \Drupal\Core\Url::urlGenerator
  2. 10 core/lib/Drupal/Core/Url.php \Drupal\Core\Url::urlGenerator
  3. 11.x core/lib/Drupal/Core/Url.php \Drupal\Core\Url::urlGenerator

The URL generator.

Type: \Drupal\Core\Routing\UrlGeneratorInterface

File

core/lib/Drupal/Core/Url.php, line 38

Class

Url
Defines an object that holds information about a URL.

Namespace

Drupal\Core

Code

protected $urlGenerator;

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