function ctools_theme_ctools_access_summary

Provide a summary description based upon the checked roles.

1 string reference to 'ctools_theme_ctools_access_summary'
theme.inc in plugins/access/theme.inc
Plugin to provide access control based on user themeission strings.

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'],
    ));
}