You are here

function save_edit_menu in Save & Edit 7

Same name and namespace in other branches
  1. 6 save_edit.module \save_edit_menu()

Implements hook_menu().

File

./save_edit.module, line 54
Save & Edit (http://drupal.org/project/save_edit) Provides a button that gives users the option to Save a form they are working on, AND return to the editing form in one step.

Code

function save_edit_menu() {
  $items = array();
  $items['admin/config/content/save-edit'] = array(
    'title' => 'Save & Edit Settings',
    'description' => 'Administer settings related to the Save & Edit module.',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'save_edit_admin_settings',
    ),
    'access arguments' => array(
      'administer save and edit',
    ),
    'type' => MENU_NORMAL_ITEM,
    'file' => 'save_edit.admin.inc',
  );
  return $items;
}