Drupal is a registered trademark of Dries Buytaert
drupal 11.3.7 Update released for Drupal core (11.3.7)! drupal 11.2.11 Update released for Drupal core (11.2.11)! drupal 10.6.7 Update released for Drupal core (10.6.7)! drupal 10.5.9 Update released for Drupal core (10.5.9)! cms 2.1.1 Update released for Drupal core (2.1.1)! drupal 11.3.6 Update released for Drupal core (11.3.6)! drupal 10.6.6 Update released for Drupal core (10.6.6)! cms 2.1.0 Update released for Drupal core (2.1.0)! bootstrap 8.x-3.40 Minor update available for theme bootstrap (8.x-3.40). menu_link_attributes 8.x-1.7 Minor update available for module menu_link_attributes (8.x-1.7). eca 3.1.1 Minor update available for module eca (3.1.1). layout_paragraphs 2.1.3 Minor update available for module layout_paragraphs (2.1.3). ai 1.3.3 Minor update available for module ai (1.3.3). ai 1.2.14 Minor update available for module ai (1.2.14). node_revision_delete 2.0.3 Minor update available for module node_revision_delete (2.0.3). moderated_content_bulk_publish 2.0.52 Minor update available for module moderated_content_bulk_publish (2.0.52). klaro 3.0.10 Minor update available for module klaro (3.0.10). klaro 3.0.9 Minor update available for module klaro (3.0.9). layout_paragraphs 2.1.2 Minor update available for module layout_paragraphs (2.1.2). geofield_map 11.1.8 Minor update available for module geofield_map (11.1.8).

book_tree_menu

413 sites No security coverage
View on drupal.org

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

Activity

Total releases
1
First release
May 2025
Latest release
11 months ago
Release cadence
Stability
100% stable

Releases

Version Type Release date
3.0.1 Stable May 15, 2025