function content_theme_get_theme_status in Content Theme 7
Same name and namespace in other branches
- 7.2 content_theme.module \content_theme_get_theme_status()
4 calls to content_theme_get_theme_status()
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;
}