Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
We are shipping with the following configuration:
- include_invalid_paths: TRUE
- include_title_segment: TRUE
In that case we end up with an empty breadcrumb on the frontpage:
[[
'title' => '',
'path' => '',
]]
Proposed resolution
Remaining tasks
User interface changes
API changes
Data model changes
Comment | File | Size | Author |
---|---|---|---|
#2 | 2883772-2.patch | 2.73 KB | dawehner |
Comments
Comment #2
dawehnerComment #3
Greg BoggsThanks! Nice catch, and thank you also for the automated test. In the case of an empty crumb, that generates a wrapper or something when it shouldn't?
~Greg
Comment #4
dawehnerYeah basically, I mean it depends on your template, but
{% if breadcrumb %}
would certainly not produce what you expect it to do.Comment #6
Greg BoggsLooks good. Thanks again for kicking off a working test too.
~Greg
Comment #7
Greg BoggsComment #8
dawehnerThank you @Greg Boggs!