1 book.module book_preprocess_block(&$variables)

Implements hook_preprocess_block().

File

core/modules/book/book.module, line 1069
Allows users to create and organize related content in an outline.

Code

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