You are here

function mass_contact_menu_alter in Mass Contact 6

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

Implementation of hook_menu_alter().

File

./mass_contact.module, line 153
This is the main code file for the Mass Contact module. This module enables users to contact multiple users through selected roles.

Code

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