MaintenanceModeSubscriber::$urlGenerator

Same name in other branches
  1. 9 core/lib/Drupal/Core/EventSubscriber/MaintenanceModeSubscriber.php \Drupal\Core\EventSubscriber\MaintenanceModeSubscriber::urlGenerator
  2. 8.9.x core/lib/Drupal/Core/EventSubscriber/MaintenanceModeSubscriber.php \Drupal\Core\EventSubscriber\MaintenanceModeSubscriber::urlGenerator
  3. 10 core/lib/Drupal/Core/EventSubscriber/MaintenanceModeSubscriber.php \Drupal\Core\EventSubscriber\MaintenanceModeSubscriber::urlGenerator

The URL generator.

Type: \Drupal\Core\Routing\UrlGeneratorInterface

File

core/lib/Drupal/Core/EventSubscriber/MaintenanceModeSubscriber.php, line 54

Class

MaintenanceModeSubscriber
Maintenance mode subscriber for controller requests.

Namespace

Drupal\Core\EventSubscriber

Code

protected $urlGenerator;

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