UrlGenerator::$provider

Same name in other branches
  1. 9 core/lib/Drupal/Core/Routing/UrlGenerator.php \Drupal\Core\Routing\UrlGenerator::provider
  2. 10 core/lib/Drupal/Core/Routing/UrlGenerator.php \Drupal\Core\Routing\UrlGenerator::provider
  3. 11.x core/lib/Drupal/Core/Routing/UrlGenerator.php \Drupal\Core\Routing\UrlGenerator::provider

The route provider.

Type: \Drupal\Core\Routing\RouteProviderInterface

File

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

Class

UrlGenerator
Generates URLs from route names and parameters.

Namespace

Drupal\Core\Routing

Code

protected $provider;

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