function HelpBreadcrumbBuilder::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/ help/ src/ HelpBreadcrumbBuilder.php, line 22
Class
- HelpBreadcrumbBuilder
- Provides a breadcrumb builder for help topic pages.
Namespace
Drupal\helpCode
public function applies(RouteMatchInterface $route_match) {
return $route_match->getRouteName() == 'help.help_topic';
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.