You are here

function contact_permissions_check_access in Contact Permissions 6

Same name and namespace in other branches
  1. 7 contact_permissions.module \contact_permissions_check_access()
2 calls to contact_permissions_check_access()
contact_permissions_form_alter in ./contact_permissions.module
Implementation of hook_user().
_contact_permissions_user_tab_access in ./contact_permissions.module
Menu access callback for a user's personal contact form.

File

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

Code

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