You are here

function faq_permission in Frequently Asked Questions 7.2

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

Implements hook_permission(). @todo 7.x-2.x do we need these permissions?

File

./faq.module, line 33
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'),
    ),
  );
}