You are here

public function FieldPluginBaseTestField::setLinkGenerator in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/views/tests/src/Unit/Plugin/field/FieldPluginBaseTest.php \Drupal\Tests\views\Unit\Plugin\field\FieldPluginBaseTestField::setLinkGenerator()
  2. 9 core/modules/views/tests/src/Unit/Plugin/field/FieldPluginBaseTest.php \Drupal\Tests\views\Unit\Plugin\field\FieldPluginBaseTestField::setLinkGenerator()

File

core/modules/views/tests/src/Unit/Plugin/field/FieldPluginBaseTest.php, line 774
Contains \Drupal\Tests\views\Unit\Plugin\field\FieldPluginBaseTest.

Class

FieldPluginBaseTestField

Namespace

Drupal\Tests\views\Unit\Plugin\field

Code

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