function BreadcrumbBuilderInterface::build
Same name in other branches
- 9 core/lib/Drupal/Core/Breadcrumb/BreadcrumbBuilderInterface.php \Drupal\Core\Breadcrumb\BreadcrumbBuilderInterface::build()
- 8.9.x core/lib/Drupal/Core/Breadcrumb/BreadcrumbBuilderInterface.php \Drupal\Core\Breadcrumb\BreadcrumbBuilderInterface::build()
- 11.x 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.
6 methods override BreadcrumbBuilderInterface::build()
- BookBreadcrumbBuilder::build in core/
modules/ book/ src/ BookBreadcrumbBuilder.php - Builds the breadcrumb.
- CommentBreadcrumbBuilder::build in core/
modules/ comment/ src/ CommentBreadcrumbBuilder.php - Builds the breadcrumb.
- ForumBreadcrumbBuilderBase::build in core/
modules/ forum/ src/ Breadcrumb/ ForumBreadcrumbBuilderBase.php - Builds the breadcrumb.
- HelpBreadcrumbBuilder::build in core/
modules/ help/ src/ HelpBreadcrumbBuilder.php - Builds the breadcrumb.
- PathBasedBreadcrumbBuilder::build in core/
modules/ system/ src/ PathBasedBreadcrumbBuilder.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\BreadcrumbCode
public function build(RouteMatchInterface $route_match);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.