You are here

function htmltidy_menu in HTML Tidy 5

Implementation of hook_menu().

File

./htmltidy.module, line 33

Code

function htmltidy_menu($may_cache) {
  $items = array();
  if ($may_cache) {
    $items[] = array(
      'path' => 'admin/settings/htmltidy',
      'title' => t('HTML Tidy'),
      'description' => t('Configure settings for HTML Tidy.'),
      'callback' => 'drupal_get_form',
      'callback arguments' => 'htmltidy_settings',
      'access' => user_access('administer htmltidy'),
    );
  }
  return $items;
}