function minifyhtml_menu in Minify Source HTML 7
Implements hook_menu().
File
- ./
minifyhtml.module, line 25 - Hook and helper functions for the Minify HTML module.
Code
function minifyhtml_menu() {
$items['admin/config/development/performance/default'] = array(
'title' => 'Performance',
'type' => MENU_DEFAULT_LOCAL_TASK,
'weight' => 1,
);
$items['admin/config/development/performance/minifyhtml'] = array(
'access arguments' => array(
'administer minifyhtml',
),
'file' => 'minifyhtml.admin.inc',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'minifyhtml_settings_form',
),
'title' => 'Minify Source HTML settings',
'description' => 'Settings that control how the HTML is minified',
'type' => MENU_LOCAL_TASK,
'weight' => 2,
);
return $items;
}