You are here

function advagg_css_compress_menu in Advanced CSS/JS Aggregation 6

Same name and namespace in other branches
  1. 7.2 advagg_css_compress/advagg_css_compress.module \advagg_css_compress_menu()
  2. 7 advagg_css_compress/advagg_css_compress.module \advagg_css_compress_menu()

Implementation of 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/settings/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;
}