public ContextualLinkManagerInterface::getContextualLinksArrayByGroup($group_name, array $route_parameters, array $metadata = array())
Gets the contextual links prepared as expected by links.html.twig.
string $group_name: The group name.
array $route_parameters: The incoming route parameters. The route parameters need to have the same name on all contextual link routes, e.g. you cannot use 'node' and 'entity' in parallel.
array $metadata: Additional metadata of contextual links, like the position (optional).
array An array of link information, keyed by the plugin ID. Each entry is an associative array with the following keys:
public function getContextualLinksArrayByGroup($group_name, array $route_parameters, array $metadata = array());
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Menu!ContextualLinkManagerInterface.php/function/ContextualLinkManagerInterface::getContextualLinksArrayByGroup/8.1.x