You are here

function track_field_changes_menu in Track Field Changes 7

Implements hook_menu().

File

./track_field_changes.module, line 38
The Track Field Changes module.

Code

function track_field_changes_menu() {
  $items[TRACK_FIELD_CHANGES_ADMIN_PATH] = array(
    'title' => 'Field Track Changes',
    'description' => 'Enable and disable which content type and fields need to be audited.',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'track_field_changes_admin_settings',
    ),
    'access arguments' => array(
      'administer track field changes',
    ),
    'type' => MENU_NORMAL_ITEM,
    'file' => 'track_field_changes.admin.inc',
  );
  return $items;
}