Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
D
drupal
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
300
Merge Requests
300
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
drupal
Commits
a71b6415
Commit
a71b6415
authored
May 09, 2020
by
xjm
2
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue
#3123211
by jungle, Kristen Pol: Replace usages of \Drupal::menuTree() with IoC injection
parent
9d884951
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
core/modules/menu_ui/src/MenuForm.php
core/modules/menu_ui/src/MenuForm.php
+1
-1
No files found.
core/modules/menu_ui/src/MenuForm.php
View file @
a71b6415
...
...
@@ -271,7 +271,7 @@ protected function buildOverviewForm(array &$form, FormStateInterface $form_stat
'subgroup'
=>
'menu-parent'
,
'source'
=>
'menu-id'
,
'hidden'
=>
TRUE
,
'limit'
=>
\
Drupal
::
menuTree
()
->
maxDepth
()
-
1
,
'limit'
=>
$this
->
menuTree
->
maxDepth
()
-
1
,
],
[
'action'
=>
'order'
,
...
...
xjm
@xjm
mentioned in commit
65ada1d1
·
May 09, 2020
mentioned in commit
65ada1d1
mentioned in commit 65ada1d166d451c606b771e8b56725b41bbe4f39
Toggle commit list
xjm
@xjm
mentioned in commit
2723840c
·
May 09, 2020
mentioned in commit
2723840c
mentioned in commit 2723840cf6d470263e4c4d42ae95c43a3ed61efd
Toggle commit list
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