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