You are here

public function ConfigNamesMapper::setRouteCollection in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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 163
Contains \Drupal\config_translation\ConfigNamesMapper.

Class

ConfigNamesMapper
Configuration mapper base implementation.

Namespace

Drupal\config_translation

Code

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