You are here

public function FieldTest::setTestValue in Views (for Drupal 7) 8.3

Sets the testValue property.

Parameters

string $value: The test value to set.

File

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;
}