function theme_delta_blocks_branding in Delta 7.3
Returns the rendered branding.
1 theme call to theme_delta_blocks_branding()
- delta_blocks_get_content in delta_blocks/
delta_blocks.module - Provides individual block content.
File
- delta_blocks/
includes/ delta_blocks.theme.inc, line 12 - Theme functions for the Delta blocks module.
Code
function theme_delta_blocks_branding($variables) {
$logo = theme('delta_blocks_logo', $variables);
$site_name = theme('delta_blocks_site_name', $variables);
$site_slogan = theme('delta_blocks_site_slogan', $variables);
$attributes['class'] = array(
'site-name-slogan',
);
if ($variables['site_name_hidden'] && $variables['site_slogan_hidden']) {
$attributes['class'][] = 'element-invisible';
}
return $logo . '<hgroup' . drupal_attributes($attributes) . '>' . $site_name . $site_slogan . '</hgroup>';
}