function system_rebuild_theme_data
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
- modules/system/system.module, line 2631
- 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; }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/modules!system!system.module/function/system_rebuild_theme_data/7.x