You are here

public function BreadcrumbBuilderInterface::build in Drupal 10

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Breadcrumb/BreadcrumbBuilderInterface.php \Drupal\Core\Breadcrumb\BreadcrumbBuilderInterface::build()
  2. 9 core/lib/Drupal/Core/Breadcrumb/BreadcrumbBuilderInterface.php \Drupal\Core\Breadcrumb\BreadcrumbBuilderInterface::build()

Builds the breadcrumb.

Parameters

\Drupal\Core\Routing\RouteMatchInterface $route_match: The current route match.

Return value

\Drupal\Core\Breadcrumb\Breadcrumb A breadcrumb.

1 method overrides BreadcrumbBuilderInterface::build()
ForumBreadcrumbBuilderBase::build in core/modules/forum/src/Breadcrumb/ForumBreadcrumbBuilderBase.php
Builds the breadcrumb.

File

core/lib/Drupal/Core/Breadcrumb/BreadcrumbBuilderInterface.php, line 33

Class

BreadcrumbBuilderInterface
Defines an interface for classes that build breadcrumbs.

Namespace

Drupal\Core\Breadcrumb

Code

public function build(RouteMatchInterface $route_match);