You are here

function htmlpurifier_schema in HTML Purifier 6

Same name and namespace in other branches
  1. 6.2 htmlpurifier.install \htmlpurifier_schema()
  2. 7.2 htmlpurifier.install \htmlpurifier_schema()
  3. 7 htmlpurifier.install \htmlpurifier_schema()

Implementation of hook_schema().

File

./htmlpurifier.install, line 6

Code

function htmlpurifier_schema() {
  $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;
}