Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. RouteSubscriber.php

function RouteSubscriber::__construct

Same name in this branch
  1. 11.1.x core/modules/block_content/src/Routing/RouteSubscriber.php \Drupal\block_content\Routing\RouteSubscriber::__construct()
  2. 11.1.x core/modules/field_ui/src/Routing/RouteSubscriber.php \Drupal\field_ui\Routing\RouteSubscriber::__construct()
  3. 11.1.x core/modules/views/src/EventSubscriber/RouteSubscriber.php \Drupal\views\EventSubscriber\RouteSubscriber::__construct()

Constructs a new RouteSubscriber.

Parameters

\Drupal\config_translation\ConfigMapperManagerInterface $mapper_manager: The mapper plugin discovery service.

File

core/modules/config_translation/src/Routing/RouteSubscriber.php, line 28

Class

RouteSubscriber
Listens to the dynamic route events.

Namespace

Drupal\config_translation\Routing

Code

public function __construct(ConfigMapperManagerInterface $mapper_manager) {
    $this->mapperManager = $mapper_manager;
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal