function statistics_preprocess_block

Implements hook_preprocess_HOOK() for block.tpl.php.

File

drupal/core/modules/statistics/statistics.module, line 456
Logs and displays access statistics for a site.

Code

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