You are here

function sweaver_get_theme_info in Sweaver 7

Same name and namespace in other branches
  1. 6 sweaver.module \sweaver_get_theme_info()

Get theme info.

Parameters

$theme: The machine name for the theme.

Return value

$theme_info The info about a theme.

4 calls to sweaver_get_theme_info()
sweaver_load_theme_selectors in ./sweaver.module
Load all inclusive selectors defined in the theme .info
sweaver_plugin_editor::sweaver_form_css_js in plugins/sweaver_plugin_editor/sweaver_plugin_editor.inc
Frontend css and js.
sweaver_plugin_palettes::sweaver_form in plugins/sweaver_plugin_palettes/sweaver_plugin_palettes.inc
Frontend form.
sweaver_plugin_themeclasses::sweaver_form in plugins/sweaver_plugin_themeclasses/sweaver_plugin_themeclasses.inc
Frontend form.

File

./sweaver.module, line 494
Sweaver functions.

Code

function sweaver_get_theme_info($theme) {
  $themes = sweaver_get_all_themes();
  return $themes[$theme]->info;
}