You are here

public function HelpBreadcrumbBuilder::__construct in Drupal 9

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

Constructs the HelpBreadcrumbBuilder.

Parameters

\Drupal\Core\StringTranslation\TranslationInterface $string_translation: The translation service.

File

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

Class

HelpBreadcrumbBuilder
Provides a breadcrumb builder for help topic pages.

Namespace

Drupal\help_topics

Code

public function __construct(TranslationInterface $string_translation) {
  $this->stringTranslation = $string_translation;
}