Drupal is a registered trademark of Dries Buytaert
Protected Pages 3.0.0 Major update available for module protected_pages (3.0.0). Commerce Core 3.3.8 Minor update available for module commerce (3.3.8). Search API HTML Element Filter 1.0.7 Minor update available for module search_api_html_element_filter (1.0.7). Layout Builder Reorder 2.0.1 Minor update available for module layout_builder_reorder (2.0.1). Ban 1.1.0 Minor update available for module ban (1.1.0). Field Formatter Range 2.0.0 Major update available for module field_formatter_range (2.0.0). Field Formatter Range 8.x-1.8 Minor update available for module field_formatter_range (8.x-1.8). UI Patterns (SDC in Drupal UI) 2.0.18 Minor update available for module ui_patterns (2.0.18). Search API Solr 4.3.11 Module search_api_solr updated after 14 months of inactivity (4.3.11). Provus Mega Menu Module provus_mega_menu crossed 1,000 active installs.

This module adds a field to Drupal entities that displays their breadcrumbs. This is useful for exposing breadcrumb information through APIs, allowing it to be used outside of the website's theme layer.

This module provides a computed field for entities to expose their breadcrumbs using core breadcrumbs service. The primary use case for this module is exposing breadcrumbs for entities as part of the entity itself so it can they can be use outside the theme layer of Drupal, for example when consuming entities through JSON:API or similar web services.

Features

  • Out-of-the-box support for core entities
  • Support for JSON-LD format as additional field

Post-Installation

Nothing, Is plug and play. If you want to disable the JSON-LD support you can visit the module configuration page at /admin/config/search/breadcrumbs-field and uncheck the JSON-LD support checkbox.

Additional Requirements

No additional requirements.

This module plays nice with Easy Breadcrumb module, in fact we encourage you to use it. If you plan using this module with JSON:API module, we recommend you to use JSON:API Extras module to properly expose the JSON-LD format (check docs for more information).

Similar projects

  • Computed Breadcrumbs: this module provides a similar feature but is based on the menu.menu_trail service instead of the breadcrumb service, the latter is more powerful because does not rely solely on the URL path.
  • Breadcrumb Field: this module provides a field to customize each content breadcrumb but does not expose the default breadcrumb with the entity.

Credits

Activity

Total releases
1
First release
Jan 2025
Latest release
1 year ago
Releases (12 mo)
0 ▼ from 1
Maintenance
Dormant

Releases

Version Type Release date
1.x-dev Dev Jan 25, 2025