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).

menu_firstchild

6,456 sites Security covered
View on drupal.org

By default, Drupal requires that you enter a path for each menu link you add/edit from the Menu administration page.
There are cases you may want to create a parent item, without any path, that simply links to its first viewable child item.
Menu Firstchild provides this functionality.

Instructions

  1. Install the module like any other module.
  2. Navigate to admin/structure/menu and choose the menu you want to customize.
  3. Add a new menu link or edit an existing link then enter <firstchild> as the link path to turn it into a parent item linking to its first accessible child.

Known issues

Breadcrumb might be wrong. This is not a bug of Menu Firstchild but a problem linked to Drupal's weak default breadcrumb system.
To solve breadcrumb issues, whether using Menu Firstchild of not:

  1. Try Menu Breadcrumb.
  2. Read #732370: Go as deep as possible when building the active trail.

Contact

This module is sponsored by Absyx.
If you like this module, please review Absyx.

2.x Branch for Drupal 8+

Instructions

  1. Install the module like any other module.
  2. Navigate to admin/structure/menu and choose the menu you want to customize.
  3. Add a new menu link or edit an existing link then check the "First child" checkbox to turn it into a parent item linking to its first accessible child.

Activity

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

Releases

Version Type Release date
2.2.0 Stable May 11, 2025