You are here

function delta_blocks_preprocess_block in Delta 7.3

Implements hook_preprocess_block().

File

delta_blocks/delta_blocks.module, line 289
Exposes a number of core Drupal elements as blocks.

Code

function delta_blocks_preprocess_block(&$vars) {
  if ($vars['block']->delta == 'breadcrumb') {
    if (variable_get('delta_blocks_breadcrumb_title_hidden', TRUE)) {
      $vars['title_attributes_array']['class'][] = 'element-invisible';
    }
  }
}