You are here

function editablefields_menu in Editable Fields 6

Same name and namespace in other branches
  1. 6.3 editablefields.module \editablefields_menu()
  2. 6.2 editablefields.module \editablefields_menu()

Implementation of hook_menu().

File

./editablefields.module, line 11
Editable fields module.

Code

function editablefields_menu() {
  global $user;
  $items = array();

  // Admin pages:
  $items['editablefields_html'] = array(
    'page callback' => 'editablefields_html',
    'access arguments' => array(
      'access content',
    ),
    'type' => MENU_CALLBACK,
    'title' => 'ajax form',
  );
  $items['editablefields_submit'] = array(
    'page callback' => 'editablefields_submit',
    'access arguments' => array(
      'access content',
    ),
    'type' => MENU_CALLBACK,
    'title' => 'ajax submit',
  );
  return $items;
}