Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Book Tree Menu

No security coverage Maintenance fixes only 440 sites

Part of the Book ecosystem · 16 projects

This module improves Drupal's book navigation by allowing users to expand and collapse submenus directly without loading the parent page. It transforms the book navigation into a more dynamic and user-friendly menu system.

Overview

Book Tree Menu enhances the default Drupal Book navigation by transforming it into a more dynamic, user-friendly menu system.

In the standard behavior, users must navigate to a parent page to reveal its child links each submenu only expands when its parent page is visited. This module removes that limitation by allowing users to expand and collapse any submenu directly, without having to load the parent page.

With this enhancement, clicking on a parent item in the left-hand menu will only toggle the visibility of its submenu. It will not navigate to the parent page, which is acceptable since these pages typically serve only as structural containers with no meaningful content beyond Book traversal links.

Credits

This Drupal module is sponsored by the Office of the New York State Comptroller

Requirements

  • Book module

Installation

  1. Download and enable the module
  2. Enable it through the Drupal admin interface or Drush.

Compatibility

Version Drupal Core Book Module Dependency 2.0.x Drupal 10.4.5 Book 1.0.0 (Contributed) 3.0.x Drupal >10.4.5, 11 Book 2.0.0 (Contributed)

Notes

The Book Tree Menu module modifies core behaviors to implement its enhancements:

  • Overrides the bookTreeAllData method in the BookManager using a Drupal style Service Provider.
  • Replaces the book-tree.html.twig template to mirror the structure and behavior of a standard menu.

Similar Modules

Drupal 10–11

Ask your assistant about Book Tree Menu

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

  • book Drupal core

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
2
Tracked since
Oct 2023
Latest release
1 year ago
Releases (12 mo)
0 ▼ from 1
Maintenance
Active

Releases

Version Type Core PHP Release date
3.0.1 Stable 10–11 May 15, 2025
2.0.3 Stable 8–10 Oct 3, 2023