You are here

function advagg_js_compress_schema in Advanced CSS/JS Aggregation 6

Same name and namespace in other branches
  1. 7 advagg_js_compress/advagg_js_compress.install \advagg_js_compress_schema()

Implementation of hook_schema().

2 calls to advagg_js_compress_schema()
advagg_js_compress_update_6101 in advagg_js_compress/advagg_js_compress.install
Update 6101 - Create the cache_advagg_css_compress_inline cache table.
advagg_js_compress_update_6102 in advagg_js_compress/advagg_js_compress.install
Update 6102 - Create the cache_advagg_css_compress_file cache table.

File

advagg_js_compress/advagg_js_compress.install, line 130
Handles AdvAgg JS compress installation and upgrade tasks.

Code

function advagg_js_compress_schema() {
  $schema = array();

  // Create cache tables.
  $schema['cache_advagg_js_compress_inline'] = drupal_get_schema_unprocessed('system', 'cache');
  $schema['cache_advagg_js_compress_inline']['description'] = t('Cache table for Advanced CSS/JS Aggregations JS Compress module. Used to keep inline versions of compressed JS.');
  $schema['cache_advagg_js_compress_file'] = drupal_get_schema_unprocessed('system', 'cache');
  $schema['cache_advagg_js_compress_file']['description'] = t('Cache table for Advanced CSS/JS Aggregations JS Compress module. Used to keep the compressed JavaScript from the js files.');
  return $schema;
}