public function ConfigNamesMapper::getBasePath in Drupal 10
Same name and namespace in other branches
- 8 core/modules/config_translation/src/ConfigNamesMapper.php \Drupal\config_translation\ConfigNamesMapper::getBasePath()
- 9 core/modules/config_translation/src/ConfigNamesMapper.php \Drupal\config_translation\ConfigNamesMapper::getBasePath()
File
- core/
modules/ config_translation/ src/ ConfigNamesMapper.php, line 224
Class
- ConfigNamesMapper
- Configuration mapper base implementation.
Namespace
Drupal\config_translationCode
public function getBasePath() {
return Url::fromRoute($this
->getBaseRouteName(), $this
->getBaseRouteParameters())
->getInternalPath();
}