You are here

public function PathBasedBreadcrumbBuilder::applies in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/system/src/PathBasedBreadcrumbBuilder.php \Drupal\system\PathBasedBreadcrumbBuilder::applies()

Whether this breadcrumb builder should be used to build the breadcrumb.

Parameters

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

Return value

bool TRUE if this builder should be used or FALSE to let other builders decide.

Overrides BreadcrumbBuilderInterface::applies

File

core/modules/system/src/PathBasedBreadcrumbBuilder.php, line 121
Contains \Drupal\system\PathBasedBreadcrumbBuilder.

Class

PathBasedBreadcrumbBuilder
Class to define the menu_link breadcrumb builder.

Namespace

Drupal\system

Code

public function applies(RouteMatchInterface $route_match) {
  return TRUE;
}