function favicon_menu in Favicon 7
Same name and namespace in other branches
- 8 favicon.module \favicon_menu()
- 5 favicon.module \favicon_menu()
- 6 favicon.module \favicon_menu()
- 7.2 favicon.module \favicon_menu()
Implements hook_menu().
File
- ./
favicon.module, line 11 - Module file for favicon module.
Code
function favicon_menu() {
// Override favicon.ico to forward to the theme's shortcut icon.
$items['favicon.ico'] = array(
'page callback' => 'favicon_shortcut_icon',
'access callback' => TRUE,
'type' => MENU_CALLBACK,
);
return $items;
}