You are here

function hook_htmlpurifier_info in HTML Purifier 7.2

Implements hook_htmlpurifier_info().

1 function implements hook_htmlpurifier_info()

Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.

htmlpurifier_htmlpurifier_info in ./htmlpurifier.module
Implements hook_htmlpurifier_info()
1 invocation of hook_htmlpurifier_info()
htmlpurifier_get_info in ./htmlpurifier.module
Return a list of all htmlpurifier_info provided by modules.

File

./htmlpurifier.api.php, line 11
API documentation for the HTML Purifier module.

Code

function hook_htmlpurifier_info() {
  return array(
    '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,
    ),
  );
}