function system_rebuild_theme_data

7.x system.module system_rebuild_theme_data()

Rebuild, save, and return data about all currently available themes.

Return value

Array of all available themes and their data.

7 calls to system_rebuild_theme_data()
block_update_7004 in drupal-7.x/modules/block/block.install
Add new blocks to new regions, migrate custom variables to blocks.
drupal_flush_all_caches in drupal-7.x/includes/common.inc
Flushes all cached data on the site.
system_install in drupal-7.x/modules/system/system.install
Implements hook_install().
system_themes_page in drupal-7.x/modules/system/system.admin.inc
Menu callback; displays a listing of all themes.
ThemeUpdater::postInstall in drupal-7.x/modules/system/system.updater.inc
Perform actions after installation.

... See full list

File

drupal-7.x/modules/system/system.module, line 2609
Configuration system that lets administrators modify the workings of the site.

Code

function system_rebuild_theme_data() {
  $themes = _system_rebuild_theme_data();
  ksort($themes);
  system_get_files_database($themes, 'theme');
  system_update_files_database($themes, 'theme');
  return $themes;
}