Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
A
admin_toolbar
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Custom Issue Tracker
Custom Issue Tracker
Labels
Merge Requests
0
Merge Requests
0
Requirements
Requirements
List
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Analytics
Analytics
Code Review
Insights
Issue
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
project
admin_toolbar
Commits
327832e5
Commit
327832e5
authored
Feb 02, 2016
by
matio89
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Commmit dev version compatible with drupal 8.0.2
parent
d0af57fd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
admin_toolbar.module
admin_toolbar.module
+1
-1
No files found.
admin_toolbar.module
View file @
327832e5
...
...
@@ -19,7 +19,7 @@ function admin_toolbar_toolbar_alter(&$items) {
*
* @see toolbar_prerender_toolbar_administration_tray()
*/
function
admin_toolbar_prerender_toolbar_administration_tray
(
array
$element
)
{
function
admin_toolbar_prerender_toolbar_administration_tray
(
array
$element
)
{
$menu_tree
=
\
Drupal
::
service
(
'toolbar.menu_tree'
);
$parameters
=
new
MenuTreeParameters
();
$parameters
->
setRoot
(
'system.admin'
)
->
excludeRoot
()
->
setMaxDepth
(
4
)
->
onlyEnabledLinks
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment