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

Breadcrumb

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

function ConfigMapperPopulateEvent::__construct

Constructs a ConfigMapperPopulateEvent object.

Parameters

\Drupal\config_translation\ConfigMapperInterface $mapper: The configuration mapper this event is related to.

\Drupal\Core\Routing\RouteMatchInterface $route_match: The route match this event is related to.

File

core/modules/config_translation/src/Event/ConfigMapperPopulateEvent.php, line 36

Class

ConfigMapperPopulateEvent
Provides a class for events related to configuration translation mappers.

Namespace

Drupal\config_translation\Event

Code

public function __construct(ConfigMapperInterface $mapper, RouteMatchInterface $route_match) {
    $this->mapper = $mapper;
    $this->routeMatch = $route_match;
}

API Navigation

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