Same name in other branches
  1. 7.x-1.x advagg_bundler/advagg_bundler.module \advagg_bundler_menu()

Implements hook_menu().

File

advagg_bundler/advagg_bundler.module, line 60

Code

function advagg_bundler_menu() {
    $file_path = drupal_get_path('module', 'advagg_bundler');
    $config_path = advagg_admin_config_root_path();
    $items[$config_path . '/advagg/bundler'] = array(
        'title' => 'Bundler',
        'description' => 'Adjust Bundler settings.',
        'page callback' => 'drupal_get_form',
        'page arguments' => array(
            'advagg_bundler_admin_settings_form',
        ),
        'type' => MENU_LOCAL_TASK,
        'access arguments' => array(
            'administer site configuration',
        ),
        'file path' => $file_path,
        'file' => 'advagg_bundler.admin.inc',
        'weight' => 10,
    );
    return $items;
}