Advertising sustains the DA. Ads are hidden for members. Join today

Installing and Configuring Disclosure Menu

Last updated on
27 March 2025

This documentation needs work. See "Help improve this page" in the sidebar.

Installation

Install the Disclosure Menu module using the standard installation method for contributed modules.

It is recommended that you use composer to install the module.

composer require drupal/disclosure_menu

Once installed, be sure to enable the module.

Configuration

Once Disclosure Menu is installed and enabled, add your menu as a Disclosure Menu block via Structure > Block layout (/admin/structure/block).

Click the Place block button for the region you want your menu to appear in.

Drupal's block layout admin page.

Then place the block for your menu that has the category Disclosure Menu.

Drupal's modal for placing a block in a region.

The block form will then include options defining the dropdown menu behavior and disclosure buttons.

These options include: 

  • How to trigger the dropdown (eg: hover, click)
  • The speed in which the dropdown appears for a user
  • Menu styles (Unstyled, Horizontal, Vertical)

The block's configuration page with Disclosure Menu options.

Help improve this page

Page status: Needs work

You can: