function _accountmenu_is_404 in Account menu 7
Same name and namespace in other branches
- 6 accountmenu.module \_accountmenu_is_404()
Returns TRUE if the request is going to return 404.
1 call to _accountmenu_is_404()
- accountmenu_translated_menu_link_alter in ./
accountmenu.module - Implements hook_link_alter.
File
- ./
accountmenu.module, line 287 - accountmenu.module Provide a dynamic Log in/My account/Log out account menu
Code
function _accountmenu_is_404() {
return strpos(drupal_get_http_header('Status'), '404 Not Found') != FALSE;
}