public ConfigEntityMapper::getOperations()
Provides an array of information to build a list of operation links.
Return value
array An associative array of operation link data for this list, keyed by operation name, containing the following key-value pairs:
- title: The localized title of the operation.
- href: The path for the operation.
- options: An array of URL options for the path.
- weight: The weight of this operation.
Overrides ConfigNamesMapper::getOperations
File
- core/modules/config_translation/src/ConfigEntityMapper.php, line 222
Class
- ConfigEntityMapper
- Configuration mapper for configuration entities.
Namespace
Drupal\config_translation
Code
public function getOperations() { return array( 'list' => array( 'title' => $this->t('List'), 'url' => Url::fromRoute('config_translation.entity_list', [ 'mapper_id' => $this->getPluginId(), ]), ), ); }
Please login to continue.