ExtraLinks should use route title, instead of hardcoded title

Created on 9 November 2023, about 1 year ago

Problem/Motivation

I've customized route titles, but Admin Toolbar does not show them.

Steps to reproduce

Implement a route subscriber to customize a route provided by \Drupal\admin_toolbar_tools\Plugin\Derivative\ExtraLinks::getDerivativeDefinitions (such as a Field UI route)

Proposed resolution

If we're calling \Drupal\admin_toolbar_tools\Plugin\Derivative\ExtraLinks::routeExists, actually return the route and use its title.

This might be difficult if it uses a title callback, though.

Remaining tasks

User interface changes

API changes

Data model changes

✨ Feature request
Status

Active

Version

3.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States mglaman WI, USA

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

Comments & Activities

Production build 0.71.5 2024