function FieldTest::getTestValue

Same name in other branches
  1. 9 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()
  3. 11.x 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;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.