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

Breadcrumb

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

function ConfigNamesMapper::getOperations

Overrides ConfigMapperInterface::getOperations

1 method overrides ConfigNamesMapper::getOperations()
ConfigEntityMapper::getOperations in core/modules/config_translation/src/ConfigEntityMapper.php
Provides an array of information to build a list of operation links.

File

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

Class

ConfigNamesMapper
Configuration mapper base implementation.

Namespace

Drupal\config_translation

Code

public function getOperations() {
    return [
        'translate' => [
            'title' => $this->t('Translate'),
            'url' => Url::fromRoute($this->getOverviewRouteName(), $this->getOverviewRouteParameters()),
        ],
    ];
}

API Navigation

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