You are here

function revision_all_menu in Revision All 7

Same name and namespace in other branches
  1. 8 revision_all.module \revision_all_menu()
  2. 6 revision_all.module \revision_all_menu()
  3. 7.2 revision_all.module \revision_all_menu()

Implements hook_menu().

File

./revision_all.module, line 12
Permits configuring content revision settings from a central location. Also makes alterations to existing forms based on user specified settings.

Code

function revision_all_menu() {
  $items['admin/config/content/revision-all'] = array(
    'title' => 'Revision All',
    'description' => 'Configure the revisioning of content types.',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'revision_all_settings_form',
    ),
    'access arguments' => array(
      'administer site configuration',
    ),
  );
  return $items;
}