You are here

function content_theme_get_theme_status in Content Theme 7

Same name and namespace in other branches
  1. 7.2 content_theme.module \content_theme_get_theme_status()
4 calls to content_theme_get_theme_status()
content_theme_get_content_node_options in ./content_theme.module
content_theme_get_content_type_options in ./content_theme.module
content_theme_get_content_wide_options in ./content_theme.module
Helper functions.
content_theme_get_theme_name in ./content_theme.module

File

./content_theme.module, line 444
This module allows to use different themes than the site default on content creating, editing, and viewing pages.

Code

function content_theme_get_theme_status($theme) {
  $system = db_query('SELECT status FROM {system} WHERE name = :name', array(
    ':name' => $theme,
  ))
    ->fetchObject();
  return $system->status;
}