Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: OpenID Connect / OAuth client 3.0.0-alpha9 New alpha version released for module openid_connect (3.0.0-alpha9). Usage Milestone: Google Analytics Module google_analytics crossed 1,000 active installs. Release: Timelinr 1.0.1 Minor update available for module timelinr (1.0.1). Release: GraphQL Compose Codegen 1.1.2 Minor update available for module graphql_compose_codegen (1.1.2). Release: Mapy.com 1.1.3 Minor update available for module mapycom (1.1.3). Release: Ckeditor5 entity browser 3.0.3 Minor update available for module ckeditor5_entity_browser (3.0.3). Release: Ckeditor5 entity browser 3.0.1 Minor update available for module ckeditor5_entity_browser (3.0.1). Release: Ckeditor5 entity browser 3.0.2 Minor update available for module ckeditor5_entity_browser (3.0.2). Release: Teamleader Integration 4.0.2 Minor update available for module teamleader (4.0.2). Module Revived: Entityqueue Buttons 1.1.2 Module entityqueue_buttons updated after 8 months of inactivity (1.1.2).

Crouton

77 sites Security covered Drupal 10–11
View on drupal.org

This module allows you to create breadcrumbs based on menu items instead of page paths. You can choose which menu to use, customize the home link, and control whether to include the current page and disabled or structural menu items in the breadcrumb trail.

Introduction

The Crouton module replaces the path-based breadcrumb builder in Drupal core with a menu-based alternative. With Crouton, you have the flexibility of defining your breadcrumbs using menu items.

Crouton works by processing the active menu trail for the configured menu and turning it into a set of breadcrumb links. Each link uses the label and target of their corresponding menu item, allowing for maximum flexibility.

Features

  • Allows you to use any menu for breadcrumbs, even if that menu is not exposed to users.
  • Uses the label of each menu item in the active trail, allowing for breadcrumb labels to be decoupled from the target content.
  • With a properly structured template, the current page is automatically marked with aria-current="page" if present in the breadcrumb links.
  • Allows you to configure whether to display a link for the Home page and the current page in the breadcrumb.
  • Allows you to configure whether to use disabled menu items.
  • Allows you to configure whether to display structural-only menu items.

Configuration

  • Configure the module's permissions by clicking "Permissions" after locating the module in Drupal's module installation interface.
  • Configure the module's settings by clicking "Configure" after locating the module in Drupal's module installation interface.

The following settings are available for configuration:

  • Breadcrumb menu: The menu to use when building breadcrumbs. If no menu is selected, breadcrumbs will be built by the next applicable breadcrumb builder (effectively disabling this module).
  • Prepend a breadcrumb for the front page: When enabled, a "Home" breadcrumb will be added to the front of the breadcrumb list. The name of this link can be changed with interface translation.
  • Append a breadcrumb for the current page: When enabled, a breadcrumb for the current page will be included at the end of the breadcrumb list.
  • Use disabled menu items: When enabled, the breadcrumb builder will produce breadcrumbs for ancestral menu items which are disabled. If both this setting and the active menu item are disabled, breadcrumbs will be built by the next applicable breadcrumb builder.
  • Hide plain-text breadcrumbs: When enabled, the breadcrumb builder will ignore <nolink> menu links.

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
2
Tracked since
Feb 2025
Latest release
1 year ago
Releases (12 mo)
0 ▼ from 2
Maintenance
Dormant

Releases

Version Type Core Release date
1.1.2 Stable 10–11 Mar 7, 2025
1.1.1 Stable 10–11 Feb 10, 2025