function faq_filter_info in Frequently Asked Questions 7
Same name and namespace in other branches
- 7.2 faq.module \faq_filter_info()
Implements hook_filter_info().
File
- ./
faq.module, line 1677 - 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_filter_info() {
$filters['faq_embed'] = array(
'title' => t('Embed FAQ page'),
'cache' => FALSE,
'description' => t('Embed FAQ page using [faq] type tags. Disables filter caching so not recommended for all input formats.'),
'tips callback' => 'faq_filter_tips_faq_embed',
'process callback' => '_faq_filter_process',
'settings callback' => '_faq_filter_settings',
);
return $filters;
}