You are here

public function HelpBreadcrumbBuilder::applies in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/help_topics/src/HelpBreadcrumbBuilder.php \Drupal\help_topics\HelpBreadcrumbBuilder::applies()
  2. 9 core/modules/help_topics/src/HelpBreadcrumbBuilder.php \Drupal\help_topics\HelpBreadcrumbBuilder::applies()

File

core/modules/help_topics/src/HelpBreadcrumbBuilder.php, line 37

Class

HelpBreadcrumbBuilder
Provides a breadcrumb builder for help topic pages.

Namespace

Drupal\help_topics

Code

public function applies(RouteMatchInterface $route_match) {
  return $route_match
    ->getRouteName() == 'help.help_topic';
}