1 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.

File

core/modules/system/system.module, line 3081
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;
}