public ConfigNamesMapper::populateFromRouteMatch(RouteMatchInterface $route_match)
Populate the config mapper with request data.
@todo Replace $request with RouteMatch https://www.drupal.org/node/2295255.
Parameters
\Drupal\Core\Routing\RouteMatchInterface $route_match: The route match.
Overrides ConfigMapperInterface::populateFromRouteMatch
File
- core/modules/config_translation/src/ConfigNamesMapper.php, line 369
Class
- ConfigNamesMapper
- Configuration mapper base implementation.
Namespace
Drupal\config_translation
Code
1 2 3 | public function populateFromRouteMatch(RouteMatchInterface $route_match ) { $this ->langcode = $route_match ->getParameter( 'langcode' ); } |
Please login to continue.