function theme_delta_blocks_page_title in Delta 7.3
Returns the rendered page title.
1 theme call to theme_delta_blocks_page_title()
- delta_blocks_get_content in delta_blocks/
delta_blocks.module - Provides individual block content.
File
- delta_blocks/
includes/ delta_blocks.theme.inc, line 108 - Theme functions for the Delta blocks module.
Code
function theme_delta_blocks_page_title($variables) {
if ($variables['page_title'] !== '') {
$attributes['id'] = 'page-title';
$attributes['class'][] = 'title';
if ($variables['page_title_hidden']) {
$attributes['class'][] = 'element-invisible';
}
return '<h1' . drupal_attributes($attributes) . '>' . $variables['page_title'] . '</h1>';
}
}