You are here

function mass_contact_menu_alter in Mass Contact 7

Same name and namespace in other branches
  1. 6 mass_contact.module \mass_contact_menu_alter()

Implements hook_menu_alter().

File

./mass_contact.module, line 247
This is the main code file for the Mass Contact module.

Code

function mass_contact_menu_alter(&$items) {
  if (!empty($items['node/add/mass-contact'])) {
    $items['node/add/mass-contact']['access callback'] = FALSE;
  }
}