Skip to content
Snippets Groups Projects
Commit 79bfd241 authored by Angie Byron's avatar Angie Byron
Browse files

Issue #1926692 by Gábor Hojtsy: Fixed Menu description is misleading to allow for multiline input.

parent c6b2c725
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -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,
);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment