gmartino/breadcrumb-labels-uid 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

gmartino/breadcrumb-labels-uid

Composer 安装命令:

composer require gmartino/breadcrumb-labels-uid

包简介

Restores the pre-v14 backend behaviour of appending the record uid to breadcrumb labels.

README 文档

README

TYPO3 v14 backend extension that restores the behaviour known from TYPO3 versions before v14: the record uid is appended to the current record's breadcrumb label (e.g. My page [42]).

Why

Since TYPO3 v14 the backend breadcrumb no longer shows the record uid. This extension brings it back without patching the core, as a drop-in package that can be installed via Composer.

Screenshots

The record uid is shown again in the backend breadcrumb — for pages and records, in both the Page and Records modules:

Page module breadcrumb showing the page uid, e.g. "Camino [1]"

Page module breadcrumb showing the current record uid, e.g. "Camino Route Comparison … [7]"

Records module breadcrumb showing a record uid, e.g. "Footer navigation [2]"

How it works

The core TYPO3\CMS\Backend\Breadcrumb\RecordBreadcrumbProvider is final and @internal, so it cannot be subclassed. The breadcrumb component instead selects providers by priority (highest getPriority() first) and uses the first one whose supports() returns true.

This extension registers Gmartino\BreadcrumbLabelsUid\Breadcrumb\RecordUidBreadcrumbProvider with a higher priority. It decorates the core provider: breadcrumb generation is fully delegated to the core provider, and only the label of the resulting current-record node is post-processed to append [uid] (idempotently — an existing suffix is never duplicated).

Installation

composer require gmartino/breadcrumb-labels-uid

In TYPO3 Composer mode the extension is active immediately. Flush the backend caches afterwards:

vendor/bin/typo3 cache:flush

Compatibility

  • TYPO3 v14
  • PHP 8.2+

License

GPL-2.0-or-later

统计信息

  • 总下载量: 0
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 3
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

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

其他信息

  • 授权协议: GPL-2.0-or-later
  • 更新时间: 2026-06-26