You are here

function variable_clean_menu in Variable Cleanup 6

Same name and namespace in other branches
  1. 7 variable_clean.module \variable_clean_menu()

Implementation of hook_menu()

File

./variable_clean.module, line 11
Allows you to remove variables not currently used.

Code

function variable_clean_menu() {
  $items['admin/settings/variable_clean'] = array(
    'title' => 'Variable Cleanup',
    'description' => 'Allows you to remove variables not currently used.',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'variable_clean_form',
    ),
    'access arguments' => array(
      'administer site configuration',
    ),
  );
  return $items;
}