Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
a71b6415
Commit
a71b6415
authored
May 09, 2020
by
xjm
Browse files
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
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
Supports
Markdown
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