public function TestPathBasedBreadcrumbBuilder::setLinkGenerator in Drupal 9
Same name and namespace in other branches
- 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\BreadcrumbsCode
public function setLinkGenerator(LinkGeneratorInterface $link_generator) {
$this->linkGenerator = $link_generator;
}