You are here

function sweaver_custom_theme in Sweaver 7

Implements hook_custom_theme().

File

./sweaver.module, line 394
Sweaver functions.

Code

function sweaver_custom_theme() {
  if (sweaver_show_editor() && ($theme_key = sweaver_session(NULL, 'sweaver_theme'))) {
    return Sweaver::get_instance()
      ->get_theme_key();
  }
}