You are here

function contact_permissions_menu_alter in Contact Permissions 6

Same name and namespace in other branches
  1. 7 contact_permissions.module \contact_permissions_menu_alter()

Implementation of hook_menu_alter().

File

./contact_permissions.module, line 22
Provides permissions for having a personal contact form

Code

function contact_permissions_menu_alter(&$items) {
  $items['user/%user/contact']['access callback'] = '_contact_permissions_user_tab_access';
}