function FieldPluginBaseTestField::setLinkGenerator
Set the link generator.
File
-
core/
modules/ views/ tests/ src/ Unit/ Plugin/ field/ FieldPluginBaseTest.php, line 991
Class
- FieldPluginBaseTestField
- Test class for testing field plugins.
Namespace
Drupal\Tests\views\Unit\Plugin\fieldCode
public function setLinkGenerator(LinkGeneratorInterface $link_generator) : void {
$this->linkGenerator = $link_generator;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.