public function ConfigEntityMapper::getOperations in Drupal 10
Same name and namespace in other branches
- 8 core/modules/config_translation/src/ConfigEntityMapper.php \Drupal\config_translation\ConfigEntityMapper::getOperations()
- 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_translationCode
public function getOperations() {
return [
'list' => [
'title' => $this
->t('List'),
'url' => Url::fromRoute('config_translation.entity_list', [
'mapper_id' => $this
->getPluginId(),
]),
],
];
}