function htmlpurifier_schema in HTML Purifier 7.2
Same name and namespace in other branches
- 6.2 htmlpurifier.install \htmlpurifier_schema()
- 6 htmlpurifier.install \htmlpurifier_schema()
- 7 htmlpurifier.install \htmlpurifier_schema()
Implements hook_schema().
File
- ./
htmlpurifier.install, line 9 - Install, update and uninstall functions for the HTML Purifier module.
Code
function htmlpurifier_schema() {
$t = get_t();
$schema['cache_htmlpurifier'] = drupal_get_schema_unprocessed('system', 'cache');
$schema['cache_htmlpurifier']['description'] = $t(<<<DESCRIPTION
Cache table for the HTML Purifier module just like cache_filter, except that
cached text is stored permanently until flushed or manually invalidated.
This helps prevent recurrent cache slams on pages with lots of segments of HTML.
DESCRIPTION
);
return $schema;
}