Sets the testValue property.
Parameters
string $value:
The test value to set.
File
- drupal/core/modules/views/tests/views_test_data/lib/Drupal/views_test_data/Plugin/views/field/FieldTest.php, line 37
- Definition of Drupal\views_test_data\Plugin\views\field\FieldTest.
Class
- FieldTest
- Plugin annotation
@Plugin(
id = "test_field",
title = @Translation("Test field plugin"),
help = @Translation("Provides a generic field test plugin.")
)
Namespace
Drupal\views_test_data\Plugin\views\field
Code
public function setTestValue($value) {
$this->testValue = $value;
}