public function ConfigNamesMapper::getOperations in Drupal 10
Same name and namespace in other branches
- 8 core/modules/config_translation/src/ConfigNamesMapper.php \Drupal\config_translation\ConfigNamesMapper::getOperations()
- 9 core/modules/config_translation/src/ConfigNamesMapper.php \Drupal\config_translation\ConfigNamesMapper::getOperations()
File
- core/
modules/ config_translation/ src/ ConfigNamesMapper.php, line 486
Class
- ConfigNamesMapper
- Configuration mapper base implementation.
Namespace
Drupal\config_translationCode
public function getOperations() {
return [
'translate' => [
'title' => $this
->t('Translate'),
'url' => Url::fromRoute($this
->getOverviewRouteName(), $this
->getOverviewRouteParameters()),
],
];
}