system_rebuild_theme_data

Versions
7
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 functions call system_rebuild_theme_data()

drupal_flush_all_caches in includes/common.inc
Flush all cached data on the site.
install_finished in ./install.php
Installation task; perform final steps and display a 'finished' page.
system_install in modules/system/system.install
Implement hook_install().
system_theme_settings in modules/system/system.admin.inc
Form builder; display theme configuration for entire site and individual themes.
system_update_7021 in modules/system/system.install
Add new blocks to new regions, migrate custom variables to blocks.
update_get_projects in modules/update/update.compare.inc
Fetch an array of installed and enabled projects.
_system_theme_list in modules/system/system.admin.inc
Retrieve the list of themes that are not hidden.

Code

modules/system/system.module, line 2357

<?php
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;
}
?>
Login or register to post comments
 
 

All source code and documentation on this site is released under the terms of the GNU General Public License, version 2 and later. Drupal is a registered trademark of Dries Buytaert.