function contact_permission

Implements hook_permission().

File

modules/contact/contact.module, line 40

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"),
        ),
    );
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.