Custom cache table

Public

Create custom table to store custom cache data.

Get raw version
php
  1. /*
  2.  * Implements hook_schema().
  3.  */
  4. function MYMODULE_schema() {
  5. $schema['cache_mytablename'] = drupal_get_schema_unprocessed('system', 'cache');
  6. return $schema;
  7. }