You are here

function blockgroup_rebuild_data in Block Group 7

Same name and namespace in other branches
  1. 7.2 blockgroup.module \blockgroup_rebuild_data()

Clear caches and rebuild blockgroup and theme data.

3 calls to blockgroup_rebuild_data()
blockgroup_add in ./blockgroup.module
Insert new block group into database.
blockgroup_delete in ./blockgroup.module
Remove the given block group form the database.
blockgroup_post_features_rebuild in ./blockgroup.features.inc
Implements hook_post_features_rebuild().

File

./blockgroup.module, line 549
Add block groups to block configuration page

Code

function blockgroup_rebuild_data() {
  drupal_static_reset('blockgroup_list');
  drupal_static_reset('blockgroup_region_list');
  cache_clear_all();
  system_rebuild_theme_data();
  drupal_theme_rebuild();
}