public ConfigNamesMapper::getDeleteRoute()
Returns the route object for the translation deletion route.
Return value
\Symfony\Component\Routing\Route The route object for the translation page.
Overrides ConfigMapperInterface::getDeleteRoute
File
- core/modules/config_translation/src/ConfigNamesMapper.php, line 332
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 getDeleteRoute() { $route = new Route( $this ->getBaseRoute()->getPath() . '/translate/{langcode}/delete' , array ( '_form' => '\Drupal\config_translation\Form\ConfigTranslationDeleteForm' , 'plugin_id' => $this ->getPluginId(), ), array ( '_config_translation_form_access' => 'TRUE' ) ); $this ->processRoute( $route ); return $route ; } |
Please login to continue.