Drupal is a registered trademark of Dries Buytaert
Protected Pages 3.0.0 Major update available for module protected_pages (3.0.0). Commerce Core 3.3.8 Minor update available for module commerce (3.3.8). Search API HTML Element Filter 1.0.7 Minor update available for module search_api_html_element_filter (1.0.7). Layout Builder Reorder 2.0.1 Minor update available for module layout_builder_reorder (2.0.1). Ban 1.1.0 Minor update available for module ban (1.1.0). Field Formatter Range 2.0.0 Major update available for module field_formatter_range (2.0.0). Field Formatter Range 8.x-1.8 Minor update available for module field_formatter_range (8.x-1.8). UI Patterns (SDC in Drupal UI) 2.0.18 Minor update available for module ui_patterns (2.0.18). Search API Solr 4.3.11 Module search_api_solr updated after 14 months of inactivity (4.3.11). Provus Mega Menu Module provus_mega_menu crossed 1,000 active installs.

Crouton

80 sites Security covered
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.

Activity

Total releases
2
First release
Feb 2025
Latest release
1 year ago
Releases (12 mo)
0 ▼ from 2
Maintenance
Dormant

Releases

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