You are here

function cleaner_menu in Cleaner 7

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

Implements hook_menu().

File

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

Code

function cleaner_menu() {
  $items = array();
  $items['admin/config/system/cleaner'] = array(
    'title' => 'Cleaner',
    '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;
}