function ctools_theme_ctools_access_summary
Provide a summary description based upon the checked roles.
1 string reference to 'ctools_theme_ctools_access_summary'
File
-
plugins/
access/ theme.inc, line 63
Code
function ctools_theme_ctools_access_summary($conf, $context) {
if (!isset($conf['theme'])) {
return t('Error, unset theme');
}
$themes = list_themes();
return t('Current theme is "@theme"', array(
'@theme' => $themes[$conf['theme']]->info['name'],
));
}