This module adds a computed property to nodes that generates their breadcrumb links. This feature is compatible with JSON:API.
Adds a computed property to nodes that returns the list of their breadcrumb links. Works fine with JSON:API.
Usage
$breadcrumbs = $node->get('breadcrumbs')->getValue();
Drupal 10–11
Ask your assistant about Computed Breadcrumbs
Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works
Depends on
Dependencies of the latest stable release
- link Drupal core
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.