You are here

public function ConfigNamesMapper::setRouteCollection in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/config_translation/src/ConfigNamesMapper.php \Drupal\config_translation\ConfigNamesMapper::setRouteCollection()

Sets the route collection.

Parameters

\Symfony\Component\Routing\RouteCollection $collection: The route collection.

Overrides ConfigMapperInterface::setRouteCollection

File

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

Class

ConfigNamesMapper
Configuration mapper base implementation.

Namespace

Drupal\config_translation

Code

public function setRouteCollection(RouteCollection $collection) {
  $this->routeCollection = $collection;
}