Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
project_browser-3437724
Manage
Activity
Members
Labels
Plan
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Issue forks
project_browser-3437724
Commits
33cac54e
Commit
33cac54e
authored
8 months ago
by
Shubham Kumar
Browse files
Options
Downloads
Patches
Plain Diff
Update project_browser.module
parent
dbd96574
No related branches found
No related tags found
No related merge requests found
Pipeline
#166026
passed
8 months ago
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
project_browser.module
+10
-0
10 additions, 0 deletions
project_browser.module
with
10 additions
and
0 deletions
project_browser.module
+
10
−
0
View file @
33cac54e
...
...
@@ -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
=
[];
}
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment