You are here

function clock_menu in Clock 7.2

Implements hook_menu().

File

./clock.module, line 185
Display clocks on your site.

Code

function clock_menu() {
  $items = array();
  $items['admin/structure/block/manage/clock/clock/configure/add'] = array(
    'title' => 'Add clock',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'clock_add_form',
    ),
    'access arguments' => array(
      'administer blocks',
    ),
    'file' => 'clock.admin.inc',
  );
  $items['admin/structure/block/manage/clock/clock/configure/%clock/edit'] = array(
    'title' => 'Edit clock',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'clock_edit_form',
      7,
    ),
    'access arguments' => array(
      'administer blocks',
    ),
    'file' => 'clock.admin.inc',
  );
  $items['admin/structure/block/manage/clock/clock/configure/%clock/delete'] = array(
    'title' => 'Delete clock',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'clock_delete_form',
      7,
    ),
    'access arguments' => array(
      'administer blocks',
    ),
    'file' => 'clock.admin.inc',
  );
  return $items;
}