function language_preprocess_block

Implements hook_preprocess_HOOK() for block.tpl.php.

File

drupal/core/modules/language/language.module, line 782
Add language handling functionality to Drupal.

Code

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