function shortcut_preprocess_block

Implements hook_preprocess_HOOK() for block.tpl.php.

File

drupal/core/modules/shortcut/shortcut.module, line 648
Allows users to manage customizable lists of shortcut links.

Code

function shortcut_preprocess_block(&$variables) {
  if ($variables['block']->module == 'shortcut') {
    $variables['attributes']['role'] = 'navigation';
  }
}