You are here

public function TestPathBasedBreadcrumbBuilder::setLinkGenerator in Zircon Profile 8.0

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 398
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;
}