You are here

function revisioning_scheduler_menu in Revisioning 7

Same name and namespace in other branches
  1. 8 revisioning_scheduler/revisioning_scheduler.module \revisioning_scheduler_menu()

Implements hook_menu().

File

revisioning_scheduler/revisioning_scheduler.module, line 18
Allows revisions to be published at specified dates and times.

Code

function revisioning_scheduler_menu() {
  $items = array();

  // Put the administrative settings under Content on the Configuration page.
  $items['admin/config/content/revisioning_scheduler'] = array(
    'title' => 'Revisioning Scheduler',
    'description' => 'Set the format for entering publication dates',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'revisioning_scheduler_admin_configure',
    ),
    'access arguments' => array(
      'administer site configuration',
    ),
  );
  return $items;
}