Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
node_menu_multiple
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
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
project
node_menu_multiple
Merge requests
!2
fix description
Code
Review changes
Check out branch
Download
Patches
Plain diff
Closed
fix description
1.0.x
into
1.x
Overview
0
Commits
1
Pipelines
2
Changes
1
Closed
NGUYEN Bao
requested to merge
1.0.x
into
1.x
3 months ago
Overview
0
Commits
1
Pipelines
2
Changes
1
Expand
0
0
Merge request reports
Compare
1.x
1.x (base)
and
latest version
latest version
d6bb6c8f
1 commit,
3 months ago
1 file
+
2
−
2
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
node_menu_multiple.module
+
2
−
2
Options
@@ -92,10 +92,10 @@ function node_menu_multiple_form_node_form_alter(&$form, FormStateInterface $for
];
$form
[
'menu'
][
'menu_form_node'
][
$i
][
'description'
]
=
[
'#type'
=>
'textarea'
,
'#title'
=>
$form
[
"menu"
][
"link"
][
"description"
][
"#title"
]
??
''
,
'#title'
=>
$form
[
"menu"
][
"link"
][
"description"
][
"#title"
],
'#default_value'
=>
$defaults
[
$i
][
'description'
],
'#rows'
=>
1
,
'#description'
=>
t
(
'Shown when hovering over the menu link.'
)
,
'#description'
=>
$form
[
"menu"
][
"link"
][
"description"
][
"#description"
]
,
];
$form
[
'menu'
][
'menu_form_node'
][
$i
][
'menu_parent'
]
=
$parent_element
;
Loading