You are here

public function TestPathBasedBreadcrumbBuilder::setLinkGenerator in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/system/tests/src/Unit/Breadcrumbs/PathBasedBreadcrumbBuilderTest.php \Drupal\Tests\system\Unit\Breadcrumbs\TestPathBasedBreadcrumbBuilder::setLinkGenerator()

File

core/modules/system/tests/src/Unit/Breadcrumbs/PathBasedBreadcrumbBuilderTest.php, line 420
Contains \Drupal\Tests\system\Unit\Breadcrumbs\PathBasedBreadcrumbBuilderTest.

Class

TestPathBasedBreadcrumbBuilder
Helper class for testing purposes only.

Namespace

Drupal\Tests\system\Unit\Breadcrumbs

Code

public function setLinkGenerator(LinkGeneratorInterface $link_generator) {
  $this->linkGenerator = $link_generator;
}