You are here

function edit_limit_menu in Edit Limit 7

Same name and namespace in other branches
  1. 6 edit_limit.module \edit_limit_menu()

Implements hook_menu().

File

./edit_limit.module, line 24
edit_limit.module Primary module file for Edit Limit. This contains all the hooks needed to run the module.

Code

function edit_limit_menu() {

  // This is the minimum information you can provide for a menu item.
  $items['admin/config/content/edit_limit'] = array(
    'title' => 'Edit Limit',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'edit_limit_settings',
    ),
    'access arguments' => array(
      'administer edit limit',
    ),
    'file' => 'edit_limit.admin.inc',
    'description' => 'Configure how often or how soon nodes and comments can be edited before they are locked.',
  );
  return $items;
}