Skip to content
Snippets Groups Projects
Commit 872c7d2a authored by Jess's avatar Jess
Browse files

Revert "Issue #2892942 by Chi: Contextual links support options but not use them to generate links"

This reverts commit e0741994.
parent e0741994
No related branches found
No related tags found
No related merge requests found
......@@ -78,7 +78,7 @@ public static function preRenderLinks(array $element) {
$class = Html::getClass($class);
$links[$class] = [
'title' => $item['title'],
'url' => Url::fromRoute(isset($item['route_name']) ? $item['route_name'] : '', isset($item['route_parameters']) ? $item['route_parameters'] : [], $item['localized_options']),
'url' => Url::fromRoute(isset($item['route_name']) ? $item['route_name'] : '', isset($item['route_parameters']) ? $item['route_parameters'] : []),
];
}
$element['#links'] = $links;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment