function toolbar_update_8000

Creates the {cache_toolbar} cache table.

Related topics

File

drupal/core/modules/toolbar/toolbar.install, line 26
Install, update and uninstall functions for the toolbar module.

Code

function toolbar_update_8000() {
  $schema['cache_toolbar'] = drupal_get_schema_unprocessed('system', 'cache');
  $schema['cache_toolbar']['description'] = 'Cache table for the Toolbar module to store per-user hashes of rendered toolbar subtrees.';
  db_create_table('cache_toolbar', $schema['cache_toolbar']);
}