You are here

function cleaner_menu in Cleaner 6

Same name and namespace in other branches
  1. 5 cleaner.module \cleaner_menu()
  2. 7 cleaner.module \cleaner_menu()

Implementation of hook_menu().

File

./cleaner.module, line 22
Allows the admin to set a schedule for clearing caches and other stuff.

Code

function cleaner_menu() {
  $items = array();
  $items['admin/settings/cleaner'] = array(
    'title' => 'Cleaner module settings',
    'description' => 'Configure time-based clean up functions.',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'cleaner_settings_form',
    ),
    'access arguments' => array(
      'administer site configuration',
    ),
  );
  return $items;
}