function contact_permission
7.x contact.module | contact_permission() |
Implements hook_permission().
File
- drupal-7.x/
modules/ contact/ contact.module, line 40 - Enables the use of personal and site-wide contact forms.
Code
function contact_permission() {
return array(
'administer contact forms' => array(
'title' => t('Administer contact forms and contact form settings'),
),
'access site-wide contact form' => array(
'title' => t('Use the site-wide contact form'),
),
'access user contact forms' => array(
'title' => t("Use users' personal contact forms"),
),
);
}