You are here

function sweaver_get_theme_info in Sweaver 6

Same name and namespace in other branches
  1. 7 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.

3 calls to sweaver_get_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 398
Sweaver functions.

Code

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