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

Breadcrumb

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

function ConfigNamesMapper::populateFromRouteMatch

Overrides ConfigMapperInterface::populateFromRouteMatch

2 calls to ConfigNamesMapper::populateFromRouteMatch()
ConfigEntityMapper::populateFromRouteMatch in core/modules/config_translation/src/ConfigEntityMapper.php
Populate the config mapper with route match data.
ConfigEntityMapper::populateFromRouteMatch in core/modules/config_translation/src/ConfigEntityMapper.php
Populate the config mapper with route match data.
1 method overrides ConfigNamesMapper::populateFromRouteMatch()
ConfigEntityMapper::populateFromRouteMatch in core/modules/config_translation/src/ConfigEntityMapper.php
Populate the config mapper with route match data.

File

core/modules/config_translation/src/ConfigNamesMapper.php, line 383

Class

ConfigNamesMapper
Configuration mapper base implementation.

Namespace

Drupal\config_translation

Code

public function populateFromRouteMatch(RouteMatchInterface $route_match) {
    $this->langcode = $route_match->getParameter('langcode');
    $event = new ConfigMapperPopulateEvent($this, $route_match);
    $this->eventDispatcher
        ->dispatch($event, ConfigTranslationEvents::POPULATE_MAPPER);
}

API Navigation

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