function xbbcode_filter_info in Extensible BBCode 7
Same name and namespace in other branches
- 8 xbbcode.module \xbbcode_filter_info()
Implements hook_filter_info().
File
- ./
xbbcode.module, line 76 - The main module file containing hook implementations.
Code
function xbbcode_filter_info() {
$filters['xbbcode'] = array(
'title' => t('Extensible BBCode'),
'description' => t('Renders standard and custom BBCode tags into HTML code.'),
'process callback' => 'xbbcode_filter_process',
'settings callback' => 'xbbcode_filter_settings',
'tips callback' => 'xbbcode_filter_tips',
'default settings' => array(
'autoclose' => FALSE,
'override' => FALSE,
),
);
return $filters;
}