Provide system_breadcrumb_alter for structured data output

Created on 9 March 2023, over 1 year ago
Updated 1 July 2024, 5 months ago

On my current project I was asked to customise the Easy Breadcrumb output for a certain content type. The customer wanted the breadcrumbs to include taxonomy terms associated with the node but did not want those terms in the path alias. I was able to write a hook_system_breadcrumb_alter function to achieve this for the visible breadcrumb block. However I then found that the output of structured data for schema.org was not reflecting the alteration. I made a change to EasyBreadcrumbStructuredDataJsonLd.php to execute the hook which appears to make that possible.

✨ Feature request
Status

Closed: outdated

Version

2.0

Component

Code

Created by

πŸ‡¬πŸ‡§United Kingdom sp3boy

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

Comments & Activities

Production build 0.71.5 2024