function edit_menu

Implements hook_menu().

File

drupal/core/modules/edit/edit.module, line 22
Provides in-place content editing functionality for fields.

Code

function edit_menu() {

  // @todo Remove these menu items in http://drupal.org/node/1954892 when theme
  //   callbacks are replaced with something else.
  $items['edit/metadata'] = array(
    'route_name' => 'edit_metadata',
    'theme callback' => 'ajax_base_page_theme',
  );
  $items['edit/form/%/%/%/%/%'] = array(
    'route_name' => 'edit_field_form',
    'theme callback' => 'ajax_base_page_theme',
  );
  return $items;
}