You are here

function theme_delta_blocks_site_slogan in Delta 7.3

Returns the rendered site slogan.

2 theme calls to theme_delta_blocks_site_slogan()
delta_blocks_get_content in delta_blocks/delta_blocks.module
Provides individual block content.
theme_delta_blocks_branding in delta_blocks/includes/delta_blocks.theme.inc
Returns the rendered branding.

File

delta_blocks/includes/delta_blocks.theme.inc, line 91
Theme functions for the Delta blocks module.

Code

function theme_delta_blocks_site_slogan($variables) {
  if ($variables['site_slogan'] !== '') {
    $attributes['class'] = array(
      'site-slogan',
    );
    if ($variables['site_slogan_hidden']) {
      $attributes['class'][] = 'element-invisible';
    }
    return '<h6' . drupal_attributes($attributes) . '>' . $variables['site_slogan'] . '</h6>';
  }
}