public ConfigNamesMapper::getOverviewRoute()
Returns the route object for a translation overview route.
Return value
\Symfony\Component\Routing\Route The route object for the translation page.
Overrides ConfigMapperInterface::getOverviewRoute
File
- core/modules/config_translation/src/ConfigNamesMapper.php, line 231
Class
- ConfigNamesMapper
- Configuration mapper base implementation.
Namespace
Drupal\config_translation
Code
1 2 3 4 5 6 7 8 9 10 11 12 | public function getOverviewRoute() { $route = new Route( $this ->getBaseRoute()->getPath() . '/translate' , array ( '_controller' => '\Drupal\config_translation\Controller\ConfigTranslationController::itemPage' , 'plugin_id' => $this ->getPluginId(), ), array ( '_config_translation_overview_access' => 'TRUE' ) ); $this ->processRoute( $route ); return $route ; } |
Please login to continue.