function favicon_menu in Favicon 7.2
Same name and namespace in other branches
- 8 favicon.module \favicon_menu()
- 5 favicon.module \favicon_menu()
- 6 favicon.module \favicon_menu()
- 7 favicon.module \favicon_menu()
Implements hook_menu().
File
- ./
favicon.module, line 11 - Module file for favicon module.
Code
function favicon_menu() {
$items['favicon.ico'] = array(
'page callback' => 'favicon_get_favicon_file',
'delivery callback' => 'favicon_deliver_favicon_file',
'access callback' => TRUE,
'type' => MENU_CALLBACK,
);
$items['admin/config/system/favicon'] = array(
'title' => 'Favicon',
'description' => 'Manage favicon settings.',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'favicon_settings_form',
),
'access arguments' => array(
'administer site configuration',
),
'file' => 'favicon.admin.inc',
);
return $items;
}