You are here

public function ConfigMapperInterface::getOperations in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/config_translation/src/ConfigMapperInterface.php \Drupal\config_translation\ConfigMapperInterface::getOperations()
  2. 10 core/modules/config_translation/src/ConfigMapperInterface.php \Drupal\config_translation\ConfigMapperInterface::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.
1 method overrides ConfigMapperInterface::getOperations()
ConfigNamesMapper::getOperations in core/modules/config_translation/src/ConfigNamesMapper.php
Provides an array of information to build a list of operation links.

File

core/modules/config_translation/src/ConfigMapperInterface.php, line 245

Class

ConfigMapperInterface
Defines an interface for configuration mapper.

Namespace

Drupal\config_translation

Code

public function getOperations();