You are here

public function ConfigEntityMapper::getOperations in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/config_translation/src/ConfigEntityMapper.php \Drupal\config_translation\ConfigEntityMapper::getOperations()
  2. 9 core/modules/config_translation/src/ConfigEntityMapper.php \Drupal\config_translation\ConfigEntityMapper::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(),
      ]),
    ],
  ];
}