You are here

public function WebformAccessBreadcrumbBuilder::__construct in Webform 8.5

Same name and namespace in other branches
  1. 6.x modules/webform_access/src/Breadcrumb/WebformAccessBreadcrumbBuilder.php \Drupal\webform_access\Breadcrumb\WebformAccessBreadcrumbBuilder::__construct()

Constructs a WebformAccessBreadcrumbBuilder.

Parameters

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

File

modules/webform_access/src/Breadcrumb/WebformAccessBreadcrumbBuilder.php, line 33

Class

WebformAccessBreadcrumbBuilder
Provides a webform access breadcrumb builder.

Namespace

Drupal\webform_access\Breadcrumb

Code

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