function TestPathBasedBreadcrumbBuilder::setLinkGenerator
Same name in other branches
- 9 core/modules/system/tests/src/Unit/Breadcrumbs/PathBasedBreadcrumbBuilderTest.php \Drupal\Tests\system\Unit\Breadcrumbs\TestPathBasedBreadcrumbBuilder::setLinkGenerator()
- 8.9.x core/modules/system/tests/src/Unit/Breadcrumbs/PathBasedBreadcrumbBuilderTest.php \Drupal\Tests\system\Unit\Breadcrumbs\TestPathBasedBreadcrumbBuilder::setLinkGenerator()
- 11.x 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 442
Class
- TestPathBasedBreadcrumbBuilder
- Helper class for testing purposes only.
Namespace
Drupal\Tests\system\Unit\BreadcrumbsCode
public function setLinkGenerator(LinkGeneratorInterface $link_generator) {
$this->linkGenerator = $link_generator;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.