You are here

function contact_permissions_check_access in Contact Permissions 7

Same name and namespace in other branches
  1. 6 contact_permissions.module \contact_permissions_check_access()
2 calls to contact_permissions_check_access()
contact_permissions_form_user_profile_form_alter in ./contact_permissions.module
Implements hook_form_FORM_ID_alter().
_contact_permissions_user_tab_access in ./contact_permissions.module
Menu access callback for a user's personal contact form.

File

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

Code

function contact_permissions_check_access($account) {
  return user_access('have a personal contact form', $account);
}