function menu_menu_edit

Page callback: Presents the menu edit form.

Parameters

\Drupal\system\Plugin\Core\Entity\Menu $menu: The menu to edit.

Return value

array A form array as expected by drupal_render().

See also

menu_menu()

1 string reference to 'menu_menu_edit'
menu_menu in drupal/core/modules/menu/menu.module
Implements hook_menu().

File

drupal/core/modules/menu/menu.admin.inc, line 46
Administrative page callbacks for menu module.

Code

function menu_menu_edit(Menu $menu) {
  drupal_set_title(t('Edit menu %label', array(
    '%label' => $menu
      ->label(),
  )), PASS_THROUGH);
  return entity_get_form($menu);
}