1 taxonomy.install | taxonomy_update_1008() |
Creates the table to enable caching of Taxonomy Term entities.
Related topics
File
- core/
modules/ taxonomy/ taxonomy.install, line 366 - Install, update and uninstall functions for the taxonomy module.
Code
function taxonomy_update_1008() {
$table = backdrop_get_schema_unprocessed('system', 'cache');
$table['description'] = "Cache table used to store Taxonomy Term entity records.";
if (db_table_exists('cache_entity_taxonomy_term')) {
db_drop_table('cache_entity_taxonomy_term');
}
db_create_table('cache_entity_taxonomy_term', $table);
}