function HelpBreadcrumbBuilder::__construct

Same name in other branches
  1. 9 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;
}

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