function local_fonts_menu in @font-your-face 6.2
Same name and namespace in other branches
- 7.2 modules/local_fonts/local_fonts.module \local_fonts_menu()
- 7 modules/local_fonts/local_fonts.module \local_fonts_menu()
Implementation of hook_menu().
File
- modules/
local_fonts/ local_fonts.module, line 18
Code
function local_fonts_menu() {
$items = array();
$items['admin/settings/fontyourface/local_fonts'] = array(
'title' => 'Import Local Font',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'local_fonts_add_fontface',
),
'access arguments' => array(
'administer @font-your-face',
),
);
$items['admin/build/themes/fontyourface/local_fonts/delete/%'] = array(
'title' => 'Delete Local Font',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'local_fonts_delete_fontface',
6,
),
'access arguments' => array(
'administer @font-your-face',
),
'type' => MENU_CALLBACK,
);
return $items;
}