Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. ConfigNamesMapper.php

function ConfigNamesMapper::getBaseRoute

Overrides ConfigMapperInterface::getBaseRoute

File

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

Class

ConfigNamesMapper
Configuration mapper base implementation.

Namespace

Drupal\config_translation

Code

public function getBaseRoute() {
    if ($this->routeCollection) {
        return $this->routeCollection
            ->get($this->getBaseRouteName());
    }
    else {
        return $this->routeProvider
            ->getRouteByName($this->getBaseRouteName());
    }
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal