Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
79bfd241
Commit
79bfd241
authored
Mar 04, 2013
by
Angie Byron
Browse files
Issue
#1926692
by Gábor Hojtsy: Fixed Menu description is misleading to allow for multiline input.
parent
c6b2c725
Changes
1
Hide whitespace changes
Inline
Side-by-side
core/modules/menu/lib/Drupal/menu/MenuFormController.php
View file @
79bfd241
...
...
@@ -47,8 +47,9 @@ public function form(array $form, array &$form_state, EntityInterface $menu) {
'#disabled'
=>
!
$menu
->
isNew
()
||
isset
(
$system_menus
[
$menu
->
id
()]),
);
$form
[
'description'
]
=
array
(
'#type'
=>
'textarea'
,
'#title'
=>
t
(
'Description'
),
'#type'
=>
'textfield'
,
'#title'
=>
t
(
'Administrative summary'
),
'#maxlength'
=>
512
,
'#default_value'
=>
$menu
->
description
,
);
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment