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.

CommentFileSizeAuthor
book-theme-template.patch452 bytes5n00py
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

tim.plunkett’s picture

Priority: Major » Normal
Issue tags: +Needs tests, +Needs backport to D7

Good find! This could use some automated tests.

podarok’s picture

Issue tags: +code sprint drupal night ua 2012

tagging

5n00py’s picture

Thanks tim.plunkett. But book module don't have any tests for 8.x now!

Status: Needs review » Needs work

The last submitted patch, book-theme-template.patch, failed testing.

mgifford’s picture

Issue summary: View changes

I can no longer grep for "book_block_view"...

tim.plunkett’s picture

git log -S"book_block_view"

#1535868: Convert all blocks into plugins

5n00py’s picture

Status: Needs work » Closed (cannot reproduce)

I'll test this issue on the 8.0.x and everything is OK.