Add option to set a minimum segment length required to render breadcrumbs

Created on 11 September 2022, over 2 years ago
Updated 24 April 2024, 9 months ago

Problem/Motivation

It is sometimes desired to only show breadcrumbs when they contain more that 1 segment. This is typically for sites where you do not include the Home link as part of the breadcrumb, and you want the current page title to be part of the trail but only when a parent link exists.

This was previously raised in https://www.drupal.org/project/easy_breadcrumb/issues/2908189 β†’ but the solution was limited just to the scenario where you do include the home link in the trail.

Proposed resolution

This could be implemented as minimum count given there is already the functionality to set a maximum number of segments.

✨ Feature request
Status

Fixed

Version

2.0

Component

Code

Created by

πŸ‡³πŸ‡ΏNew Zealand ericgsmith

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024