ctools_page_slogan_content_type_render
Drupal 7 ctools_page_slogan_content_type_render($subtype, $conf, $panel_args)
Output function for the 'page_slogan' content type.
Outputs the slogan for the current page.
File
- sites/
all/ modules/ ctools/ plugins/ content_types/ page/ page_slogan.inc, line 27 - Plugin to handle the 'page_slogan' content type which allows the slogan of the site to be embedded into a panel.
Code
function ctools_page_slogan_content_type_render($subtype, $conf, $panel_args) {
$block = new stdClass();
$block->content = (theme_get_setting('toggle_slogan') ? filter_xss_admin(variable_get('site_slogan', '')) : '');
return $block;
}

