function 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_translationCode
public function setRouteCollection(RouteCollection $collection) {
  $this->routeCollection = $collection;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.