function faq_ask_permission in FAQ_Ask 7
Implements hook_permission().
Define the permissions this module uses
Return value
array permissions defined for the faq_ask module
File
- ./
faq_ask.module, line 52 - This module is an add-on to the FAQ module that allows users with the 'ask question' permission to create a question which will be queued for an 'expert' to answer.
Code
function faq_ask_permission() {
return array(
'ask question' => array(
'title' => t('Ask a question'),
'description' => t('Ask a question to be submitted to an expert.'),
),
'answer question' => array(
'title' => t('Answer a question'),
'description' => t('Answer a question submitted by someone asking.'),
),
);
}