ConfigNamesMapper::getBasePath

public ConfigNamesMapper::getBasePath()

Returns a processed path for the base route the mapper is attached to.

Return value

string Processed path with placeholders replaced.

Overrides ConfigMapperInterface::getBasePath

File

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

Class

ConfigNamesMapper
Configuration mapper base implementation.

Namespace

Drupal\config_translation

Code

public function getBasePath() {
  return Url::fromRoute($this->getBaseRouteName(), $this->getBaseRouteParameters())->getInternalPath();
}
doc_Drupal
2016-10-29 08:54:17
Comments
Leave a Comment

Please login to continue.