You are here

public function ConfigNamesMapper::getAddRouteName in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/config_translation/src/ConfigNamesMapper.php \Drupal\config_translation\ConfigNamesMapper::getAddRouteName()

Returns route name for the translation add form route.

Return value

string Route name for the mapper.

Overrides ConfigMapperInterface::getAddRouteName

File

core/modules/config_translation/src/ConfigNamesMapper.php, line 268

Class

ConfigNamesMapper
Configuration mapper base implementation.

Namespace

Drupal\config_translation

Code

public function getAddRouteName() {
  return 'config_translation.item.add.' . $this
    ->getBaseRouteName();
}