function advagg_css_compress_menu in Advanced CSS/JS Aggregation 7
Same name and namespace in other branches
- 6 advagg_css_compress/advagg_css_compress.module \advagg_css_compress_menu()
- 7.2 advagg_css_compress/advagg_css_compress.module \advagg_css_compress_menu()
Implements hook_menu().
File
- advagg_css_compress/
advagg_css_compress.module, line 43 - Advanced aggregation css compression module.
Code
function advagg_css_compress_menu() {
$items = array();
$file_path = drupal_get_path('module', 'advagg_css_compress');
$items['admin/config/advagg/css-compress'] = array(
'title' => 'CSS Compression',
'description' => 'Adjust CSS Compression settings.',
'page callback' => 'advagg_css_compress_admin_page',
'type' => MENU_LOCAL_TASK,
'access arguments' => array(
'administer site configuration',
),
'file path' => $file_path,
'file' => 'advagg_css_compress.admin.inc',
'weight' => 10,
);
return $items;
}