You are here

public function FieldTest::getTestValue in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/views/tests/modules/views_test_data/src/Plugin/views/field/FieldTest.php \Drupal\views_test_data\Plugin\views\field\FieldTest::getTestValue()
  2. 10 core/modules/views/tests/modules/views_test_data/src/Plugin/views/field/FieldTest.php \Drupal\views_test_data\Plugin\views\field\FieldTest::getTestValue()

Returns the testValue property.

Return value

string

2 calls to FieldTest::getTestValue()
FieldTest::addSelfTokens in core/modules/views/tests/modules/views_test_data/src/Plugin/views/field/FieldTest.php
Add any special tokens this field might use for itself.
FieldTest::render in core/modules/views/tests/modules/views_test_data/src/Plugin/views/field/FieldTest.php
Renders the field.

File

core/modules/views/tests/modules/views_test_data/src/Plugin/views/field/FieldTest.php, line 36

Class

FieldTest
Plugin annotation @ViewsField("test_field");

Namespace

Drupal\views_test_data\Plugin\views\field

Code

public function getTestValue() {
  return $this->testValue;
}