Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Book Menu Options

No security coverage Under active development

Part of the Book ecosystem · 17 projects

Give editors control over how individual pages appear in your book
navigation, without touching templates or asking a developer.

What it does

  • Hide a page from the book menu while keeping it in the
    book. Its URL, position in the outline, breadcrumb and previous/next links
    stay the same. Hiding a page also hides the pages beneath it in the menu.
  • Customize individual menu items with a CSS class, an ID,
    a tooltip (title), an "open in new window" setting, or your own custom
    attributes such as tracking labels.

When to use it

  • Landing pages, appendices or utility pages that belong in the book but not
    in its navigation.
  • Highlighting an item, for example with a "new" badge or call-to-action
    style.
  • Opening a particular link in a new window.
  • Adding tracking or testing attributes to specific menu links.
  • Letting content editors do all of the above themselves, under a
    permission.

How it works

  1. Install the module with Composer and enable it.
  2. Choose which attributes are available (the defaults are class, ID, title
    and target) at Administration > Structure > Books > Book menu
    options
    .
  3. Give your editors the "Edit book menu item options" permission.
  4. Editors can set the options on the page's edit form (under Book
    outline
    ), on the page's "Menu options" tab, or with the "Visible"
    checkboxes on the book's outline page.

Drupal 12 note

Drupal 12 is still in beta. This module works on Drupal 12.0.0-beta2, but
the Book module (3.0.8) has a known problem there: its settings form fails
when saved, because the newer Symfony in Drupal 12 rejects a setting in
Book's configuration schema that Drupal 11 accepted. This is an issue in Book, not in this module. Check the Book issue queue for a fix, and until a Book release includes one, apply it as a Composer patch.

Similar modules

  • Book Menus (D7 only): solves a similar problem in a different way. It converts each book into a real Drupal menu, so site builders can use menu modules (special_menu_items, menu_html, nice_menus) to control titles, markup and links. This module keeps the book structure and adds per-page options (hide from the book menu, link attributes).
  • Menu Link Attributes offers similar per-link options for regular menus. This
    module does the same for book menus.

Ask your assistant about Book Menu Options

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

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
1
Tracked since
Dec 2026
Latest release
23 hours ago
Releases (12 mo)
1 ▲ from 0
Maintenance
Active

Releases

Version Type Core PHP Release date
1.0.0-beta1 Pre-release 10–11 Dec 3, 2026