承接 helga-agentur/helga_breadcrumbs 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

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:

  1. Generate a breadcrumb for the current entity based on its placement in a globally defined menu
  2. If there is no menu item for the current entity, fallback to a fallback menu item for 'orphans', defined per entity type
  3. If that doesn't work either, fallback to EasyBreadcrumb's logic
  4. If EasyBreadcrumb cannot be applied, use any other available system breadcrumb builder
    • N.B.: This depends on the priority of breadcrumb_builder tagged services.

Flow (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: true
  • applies_admin_routes: false
  • include_title_segment: false
  • follow_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

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-2.0-or-later
  • 更新时间: 2025-07-31