function page_theme_get_theme_name in Page Theme 6
Same name and namespace in other branches
- 7.2 page_theme.module \page_theme_get_theme_name()
- 7 page_theme.module \page_theme_get_theme_name()
2 calls to page_theme_get_theme_name()
- page_theme_admin_edit in ./
page_theme.admin.inc - Menu callback; edits a theme.
- page_theme_admin_overview in ./
page_theme.admin.inc - Menu callback; lists all defined themes.
File
- ./
page_theme.module, line 186 - This module allows to use different themes than the site default on specific pages.
Code
function page_theme_get_theme_name($theme) {
$themes = page_theme_get_themes();
return isset($themes[$theme]) ? $themes[$theme] : t('!theme (not available)', array(
'!theme' => $theme,
));
}