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.
By dawehner on
Change record status:
Published (View all published change records)
Project:
Introduced in branch:
8.x
Description:
Since #2084421: Phase 2 - Decouple book module schema from menu links we no longer use the menu_links tree to represent the outline of books.
This leads to a range of internal changes:
- All the information needed for the outline is stored in the book table
- A new
\Drupal\book\BookManagerInterface
with quite a bunch of services - All storage-related operations are done by
\Drupal\book\BookOutlineStorage
(book.outline_storage
service). Any alternative storage implementations should implement\Drupal\book\BookOutlineStorage
interface and swap out class responsible for this service.
For all previous manual building book items you now need to interact with the book manager.
Impacts:
Module developers