helga-agentur/helga_breadcrumbs
最新稳定版本:1.0.0-rc3
Composer 安装命令:
composer require helga-agentur/helga_breadcrumbs
包简介
Breadcrumbs for Helga
关键字:
README 文档
README
This module provides a generic strategy for generating breadcrumbs. It relies on MenuBreadcrumbBuilder, some custom fallback catch-all logic and EasyBreadcrumbBuilder to achieve the following:
- Generate a breadcrumb for the current entity based on its placement in a globally defined menu
- If there is no menu item for the current entity, fallback to a fallback menu item for 'orphans', defined per entity type
- If that doesn't work either, fallback to EasyBreadcrumb's logic
- If EasyBreadcrumb cannot be applied, use any other available system breadcrumb builder
- N.B.: This depends on the priority of
breadcrumb_buildertagged services.
- N.B.: This depends on the priority of
(created with mermaidchart.com)
REQUIREMENTS
- Easy Breadcrumb
- Menu Breadcrumb
CONFIGURATION
Helga breadcrumbs
Define the menu used to generate breadcrumbs,
via helga_breadcrumbs.settings breadcrumbs_orphans_menu
Having defined that, make sure you add fallback "orphan" parents menu items for
node and other entity types, as needed.
Menu breadcrumbs
By setting determine_menu to true one can completely disable this builder,
while still being able to use the module's codes for the 'orphans' fallback
logic.
Easy breadcrumbs
Some suggested settings:
remove_repeated_segments: trueapplies_admin_routes: falseinclude_title_segment: falsefollow_redirects: false
NOTES
EasyBreadcrumb may have an issue with aliases generated using the following token:
[node:menu-link:parents:join-path]
In order to fix this issue (tracked at https://www.drupal.org/i/2952612), a patch is needed (provided via that issue) and some custom implementation.
统计信息
- 总下载量: 38
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-2.0-or-later
- 更新时间: 2025-07-31