function ConfigMapperInterface::populateFromRouteMatch

Same name in other branches
  1. 9 core/modules/config_translation/src/ConfigMapperInterface.php \Drupal\config_translation\ConfigMapperInterface::populateFromRouteMatch()
  2. 8.9.x core/modules/config_translation/src/ConfigMapperInterface.php \Drupal\config_translation\ConfigMapperInterface::populateFromRouteMatch()
  3. 11.x core/modules/config_translation/src/ConfigMapperInterface.php \Drupal\config_translation\ConfigMapperInterface::populateFromRouteMatch()

Populate the config mapper with route match data.

Parameters

\Drupal\Core\Routing\RouteMatchInterface $route_match: The route match.

See also

\Drupal\config_translation\Event\ConfigTranslationEvents::POPULATE_MAPPER

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

File

core/modules/config_translation/src/ConfigMapperInterface.php, line 292

Class

ConfigMapperInterface
Defines an interface for configuration mapper.

Namespace

Drupal\config_translation

Code

public function populateFromRouteMatch(RouteMatchInterface $route_match);

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