You are here

function faq_permission in Frequently Asked Questions 7

Same name and namespace in other branches
  1. 7.2 faq.module \faq_permission()

Implements hook_permission().

File

./faq.module, line 30
The FAQ module allows users to create a FAQ page, with questions and answers displayed in different styles, according to the settings.

Code

function faq_permission() {
  return array(
    'administer faq' => array(
      'title' => t('Administer FAQ module'),
    ),
    'administer faq order' => array(
      'title' => t('Administer FAQ order'),
    ),
    'view faq page' => array(
      'title' => t('View FAQ pages'),
    ),
  );
}