Download the PHP package hoppinger/breadcrumb_builder without Composer
On this page you can find all versions of the php package hoppinger/breadcrumb_builder. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download hoppinger/breadcrumb_builder
More information about hoppinger/breadcrumb_builder
Files in hoppinger/breadcrumb_builder
Package breadcrumb_builder
Short Description Drupal module to build breadcrumbs
License GPL-2.0+
Homepage https://github.com/hoppinger/breadcrumb_builder
Informations about the package breadcrumb_builder
Breadcrumb Builder
Navigation can greatly enhance the way users find their way around. In terms of usability, breadcrumbs reduce the number of actions a website visitor needs to take in order to get to a higher-level page, and they improve the findability of website sections and pages. They are also an effective visual aid that indicates the location of the user within the website’s hierarchy, making it a great source of contextual information for landing pages.
Installation
Usage
Path Breadcrumb builder automatically recognizes the correct breadcrumb you want based on the URLs of the pages and the items included in the menu. In case of special breadcrumb trail requirement, you can extend the functionality of the Path breadcrumb builder and create your own breadcrumb trail.
Create a custom service and define the service in the modulename.services.yml file. Replace the ExampleBreadcrumbBuilder with your own filename. Add the priority to the custom breadcrumb builder.
Create a file ExampleBreadcrumbBuilder.php inside the
In some cases we need more menu types than the specified 'main' menu, to contribute to the breadcrumb generation.
Create a .php file in the module directory <target_identifier>
with the project-specific menu type that needs to be embedded into the API response (for example: footer
)
The
The filename must be similar to the module name i.e., ModuleNameServiceProvider.php and must be placed in the src folder.
By default, main menu is already added as the target identifier.