function ForumListingBreadcrumbBuilder::applies
Same name in other branches
- 8.9.x core/modules/forum/src/Breadcrumb/ForumListingBreadcrumbBuilder.php \Drupal\forum\Breadcrumb\ForumListingBreadcrumbBuilder::applies()
- 10 core/modules/forum/src/Breadcrumb/ForumListingBreadcrumbBuilder.php \Drupal\forum\Breadcrumb\ForumListingBreadcrumbBuilder::applies()
- 11.x core/modules/forum/src/Breadcrumb/ForumListingBreadcrumbBuilder.php \Drupal\forum\Breadcrumb\ForumListingBreadcrumbBuilder::applies()
Overrides BreadcrumbBuilderInterface::applies
File
-
core/
modules/ forum/ src/ Breadcrumb/ ForumListingBreadcrumbBuilder.php, line 16
Class
- ForumListingBreadcrumbBuilder
- Provides a breadcrumb builder base class for forum listing pages.
Namespace
Drupal\forum\BreadcrumbCode
public function applies(RouteMatchInterface $route_match) {
return $route_match->getRouteName() == 'forum.page' && $route_match->getParameter('taxonomy_term');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.