Skip to content
Snippets Groups Projects
Commit ee33291b authored by Dries Buytaert's avatar Dries Buytaert
Browse files

- Patch #17079 by Uwe: fixed form title of form element in menu module form.

parent db1ef4bd
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
...@@ -303,7 +303,7 @@ function menu_edit_item($mid = 0) { ...@@ -303,7 +303,7 @@ function menu_edit_item($mid = 0) {
function menu_edit_item_form($edit) { function menu_edit_item_form($edit) {
$menu = menu_get_menu(); $menu = menu_get_menu();
$form .= form_textfield(t('Title'), 'title', $edit['title'], 60, 128, t('The name to display for this link.'), NULL, TRUE); $form .= form_textfield(t('Title'), 'title', $edit['title'], 60, 128, t('The name of the menu.'), NULL, TRUE);
if ($edit['pid'] == 0) { if ($edit['pid'] == 0) {
// Display a limited set of fields for menus (not items). // Display a limited set of fields for menus (not items).
......
...@@ -303,7 +303,7 @@ function menu_edit_item($mid = 0) { ...@@ -303,7 +303,7 @@ function menu_edit_item($mid = 0) {
function menu_edit_item_form($edit) { function menu_edit_item_form($edit) {
$menu = menu_get_menu(); $menu = menu_get_menu();
$form .= form_textfield(t('Title'), 'title', $edit['title'], 60, 128, t('The name to display for this link.'), NULL, TRUE); $form .= form_textfield(t('Title'), 'title', $edit['title'], 60, 128, t('The name of the menu.'), NULL, TRUE);
if ($edit['pid'] == 0) { if ($edit['pid'] == 0) {
// Display a limited set of fields for menus (not items). // Display a limited set of fields for menus (not items).
......
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