function htmlpurifier_htmlpurifier_info in HTML Purifier 7.2
Implements hook_htmlpurifier_info()
File
- ./
htmlpurifier.module, line 244 - Implements HTML Purifier as a Drupal filter.
Code
function htmlpurifier_htmlpurifier_info() {
$info = array();
$info['htmlpurifier_basic'] = array(
'name' => 'HTML Purifier Basic',
'description' => 'A simple and sane configuration',
'allowed' => array(
'URI.DisableExternalResources',
'URI.DisableResources',
'URI.Munge',
'Attr.EnableID',
'HTML.Allowed',
'HTML.ForbiddenElements',
'HTML.ForbiddenAttributes',
'HTML.SafeObject',
'Output.FlashCompat',
'AutoFormat.RemoveEmpty',
'AutoFormat.Linkify',
'AutoFormat.AutoParagraph',
),
'weight' => -20,
);
$info['htmlpurifier_advanced'] = array(
'name' => 'HTML Purifier Advanced',
'description' => 'Every configuration option available to HTML Purifier',
'weight' => -10,
);
return $info;
}