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

Breadcrumb

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

function ConfigEntityMapper::getBaseRouteParameters

Overrides ConfigNamesMapper::getBaseRouteParameters

2 calls to ConfigEntityMapper::getBaseRouteParameters()
ConfigFieldMapper::getBaseRouteParameters in core/modules/config_translation/src/ConfigFieldMapper.php
Returns the route parameters for the base route the mapper is attached to.
ConfigFieldMapper::getBaseRouteParameters in core/modules/config_translation/src/ConfigFieldMapper.php
Returns the route parameters for the base route the mapper is attached to.
1 method overrides ConfigEntityMapper::getBaseRouteParameters()
ConfigFieldMapper::getBaseRouteParameters in core/modules/config_translation/src/ConfigFieldMapper.php
Returns the route parameters for the base route the mapper is attached to.

File

core/modules/config_translation/src/ConfigEntityMapper.php, line 156

Class

ConfigEntityMapper
Configuration mapper for configuration entities.

Namespace

Drupal\config_translation

Code

public function getBaseRouteParameters() {
    return [
        $this->entityType => $this->entity
            ->id(),
    ];
}

API Navigation

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