You are here

function unpublished_404_menu_alter in Unpublished 404 7

Implements hook_menu_alter().

File

./unpublished_404.module, line 21
Code for the unpublished 404.

Code

function unpublished_404_menu_alter(&$items) {
  $items['node/%node']['access callback'] = 'unpublished_404_node_access';
  $items['node/%node']['access arguments'] = array();
  $items['node/%node']['page callback'] = 'unpublished_404_node_page_view';
}