Skip to content
Snippets Groups Projects
Commit 33cac54e authored by Shubham Kumar's avatar Shubham Kumar
Browse files

Update project_browser.module

parent dbd96574
No related branches found
No related tags found
No related merge requests found
Pipeline #166026 passed
......@@ -48,3 +48,13 @@ function project_browser_menu_links_discovered_alter(&$links) {
unset($links['admin_toolbar_tools.extra_links:update.module_install']);
}
}
/**
* Implements hook_preprocess_HOOK().
*/
function project_browser_preprocess_menu_local_task(&$variables) {
$route = $variables['link']['#url'];
if ($route && $route->getRouteName() == 'update.module_update') {
$variables = [];
}
}
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