1.20.x book.module | book_preprocess_block(&$variables) |
Implements hook_preprocess_block().
File
- modules/
book/ book.module, line 1032 - 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';
}
}