Implements hook_menu().

Fichier

advagg_mod/advagg_mod.module, line 355

Code

function advagg_mod_menu() {
    $file_path = drupal_get_path('module', 'advagg_mod');
    $config_path = advagg_admin_config_root_path();
    $items[$config_path . '/advagg/mod'] = array(
        'title' => 'Modifications',
        'description' => 'Turn on or off various mods for CSS/JS.',
        'page callback' => 'drupal_get_form',
        'page arguments' => array(
            'advagg_mod_admin_settings_form',
        ),
        'type' => MENU_LOCAL_TASK,
        'access arguments' => array(
            'administer site configuration',
        ),
        'file path' => $file_path,
        'file' => 'advagg_mod.admin.inc',
        'weight' => 10,
    );
    return $items;
}