function theme_blockify_page_title in Blockify 7
Same name and namespace in other branches
- 8 blockify.theme.inc \theme_blockify_page_title()
 - 6 blockify.theme.inc \theme_blockify_page_title()
 
Returns the rendered page title.
1 theme call to theme_blockify_page_title()
- blockify_get_content in ./
blockify.module  - Provides individual block content.
 
File
- ./
blockify.theme.inc, line 84  - Theme functions for the Blockify module.
 
Code
function theme_blockify_page_title($variables) {
  if ($variables['page_title'] !== '') {
    $title_attributes_array = array(
      'class' => array(
        'title',
      ),
      'id' => array(
        'page-title',
      ),
    );
    $title_attributes = drupal_attributes($title_attributes_array);
    return '<h1' . $title_attributes . '>' . $variables['page_title'] . '</h1>';
  }
}