1 contact.module contact_permission()

Implements hook_permission().

File

core/modules/contact/contact.module, line 26
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'),
      'restrict access' => TRUE,
      'warning' => t('Adding additional email recipients lets them see all incoming emails.'),
    ),
    'access site-wide contact form' => array(
      'title' => t('Use the site-wide contact form'),
    ),
    'access user contact forms' => array(
      'title' => t('Use personal contact forms'),
    ),
  );
}