function PathBasedBreadcrumbBuilder::applies

Same name in other branches
  1. 9 core/modules/system/src/PathBasedBreadcrumbBuilder.php \Drupal\system\PathBasedBreadcrumbBuilder::applies()
  2. 10 core/modules/system/src/PathBasedBreadcrumbBuilder.php \Drupal\system\PathBasedBreadcrumbBuilder::applies()
  3. 11.x core/modules/system/src/PathBasedBreadcrumbBuilder.php \Drupal\system\PathBasedBreadcrumbBuilder::applies()

Overrides BreadcrumbBuilderInterface::applies

File

core/modules/system/src/PathBasedBreadcrumbBuilder.php, line 134

Class

PathBasedBreadcrumbBuilder
Class to define the menu_link breadcrumb builder.

Namespace

Drupal\system

Code

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.