function ConfigEntityMapper::getOperations

Same name in other branches
  1. 8.9.x core/modules/config_translation/src/ConfigEntityMapper.php \Drupal\config_translation\ConfigEntityMapper::getOperations()
  2. 10 core/modules/config_translation/src/ConfigEntityMapper.php \Drupal\config_translation\ConfigEntityMapper::getOperations()
  3. 11.x core/modules/config_translation/src/ConfigEntityMapper.php \Drupal\config_translation\ConfigEntityMapper::getOperations()

Overrides ConfigNamesMapper::getOperations

File

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

Class

ConfigEntityMapper
Configuration mapper for configuration entities.

Namespace

Drupal\config_translation

Code

public function getOperations() {
    return [
        'list' => [
            'title' => $this->t('List'),
            'url' => Url::fromRoute('config_translation.entity_list', [
                'mapper_id' => $this->getPluginId(),
            ]),
        ],
    ];
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.