function ConfigMapperInterface::setRouteCollection

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

Sets the route collection.

Parameters

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

1 method overrides ConfigMapperInterface::setRouteCollection()
ConfigNamesMapper::setRouteCollection in core/modules/config_translation/src/ConfigNamesMapper.php
Sets the route collection.

File

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

Class

ConfigMapperInterface
Defines an interface for configuration mapper.

Namespace

Drupal\config_translation

Code

public function setRouteCollection(RouteCollection $collection);

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