Problem/Motivation
I would like to propose that we do not make the Breadcrumb Paths or URL's required. OR add help text to show how to enter blank options for both URL and Path.
- I have a bunch of top level pages that have specific URL's that I want to use.
- I have the option to add the home page link as well as the current page you are on. So for these top level pages, I need the breadcrumb to be active but not have any values in either the path or the URL.
Steps to reproduce
In the UI interface this is not possible. As it requires you to add something there.
But if I export the configuration, and change the configu manually, then import via drush cim. Everything works as expected.
uuid: b5c58485-5a53-4fb3-b9d5-f8027e7f5ea7
langcode: en
status: true
dependencies: { }
id: top_level_breadcrumbs
label: 'Top Level Breadcrumbs'
description: 'Breadcrumbs for all top-level items. '
entityType: _none
entityBundle: _none
language: und
breadcrumbPaths: ''
breadcrumbTitles: ''
type: '2'
pathPattern: "/services\r\n/solutions\r\n/remote-people-operations\r\n/about-us\r\n/the-remote-employee-experience"
extraCacheContexts: ''Proposed resolution
- Remove the requirement to enter Breadcrumb Paths or URL's
- OR add help text to show how to enter blank options for both URL and Path.
Comments
Comment #2
kclarkson commentedComment #3
lamp5Go to the /admin/config/user-interface/custom-breadcrumbs and check "Site wide breadcrumbs"
If you want to create crumb without url then use extra token:
<nolink> - adds ability to create crumb without url