You are here

function google_webfont_loader_api_menu in Webfont Loader 7

Same name and namespace in other branches
  1. 6 google_webfont_loader_api.module \google_webfont_loader_api_menu()

Implements hook_menu().

File

./google_webfont_loader_api.module, line 27
Google Webfont Loader API primary file The designer/developer creates a set of packages (will use .fontinfo files created in a similar manner to a module or theme .info file) from which the site admin can then choose for their site. The fonts can…

Code

function google_webfont_loader_api_menu() {
  $items = array();
  $items['admin/appearance/manage/google_webfont_loader_api'] = array(
    'title' => 'Google Webfont Loader Settings',
    'description' => 'Way to load custom webfonts on your site',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'google_webfont_loader_api_site_settings',
    ),
    'access callback' => 'user_access',
    'access arguments' => array(
      'administer google webfont loader api',
    ),
    'file' => 'google_webfont_loader_api.admin.inc',
    'type' => MENU_LOCAL_TASK,
  );
  return $items;
}