You are here

function advagg_font_menu in Advanced CSS/JS Aggregation 7.2

Implements hook_menu().

File

advagg_font/advagg_font.module, line 190
Advanced aggregation font module.

Code

function advagg_font_menu() {
  $file_path = drupal_get_path('module', 'advagg_font');
  $config_path = advagg_admin_config_root_path();
  $items[$config_path . '/advagg/font'] = array(
    'title' => 'Async Font Loader',
    'description' => 'Load external fonts in a non blocking manner.',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'advagg_font_admin_settings_form',
    ),
    'type' => MENU_LOCAL_TASK,
    'access arguments' => array(
      'administer site configuration',
    ),
    'file path' => $file_path,
    'file' => 'advagg_font.admin.inc',
    'weight' => 10,
  );
  return $items;
}