Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
if ($block['content'] = $book_menus) {
$book_menus['#theme'] = 'book_all_books_block';
}
This #theme tag not actually stored in $block['content'].
So book-all-books-block.tpl.php can't be used.
Comment | File | Size | Author |
---|---|---|---|
book-theme-template.patch | 452 bytes | 5n00py | |
Comments
Comment #1
tim.plunkettGood find! This could use some automated tests.
Comment #2
podaroktagging
Comment #3
5n00py CreditAttribution: 5n00py commentedThanks tim.plunkett. But book module don't have any tests for 8.x now!
Comment #6
mgiffordI can no longer grep for "book_block_view"...
Comment #7
tim.plunkettgit log -S"book_block_view"
#1535868: Convert all blocks into plugins
Comment #8
5n00py CreditAttribution: 5n00py commentedI'll test this issue on the 8.0.x and everything is OK.