5 * Plugin to handle the 'page_slogan' content type which allows the
6 * slogan of the site to be embedded into a panel.
10 * Plugins are described by creating a $plugin array which will be used
11 * by the system that includes this file.
14 'title' => t('Site slogan'),
16 'icon' => 'icon_page.png',
17 'description' => t("Add the site's slogan as content."),
18 'category' => t('Page elements'),
19 'render last' => TRUE,
23 * Output function for the 'page_slogan' content type.
25 * Outputs the slogan for the current page.
27 function ctools_page_slogan_content_type_render($subtype, $conf, $panel_args) {
28 $block = new stdClass();
29 $block->content = filter_xss_admin(variable_get('site_slogan', ''));