A mock function which allows to call placeholder from public.
Return value
string
The result of the placeholder method.
File
- drupal/core/modules/views/tests/views_test_data/lib/Drupal/views_test_data/Plugin/views/field/FieldTest.php, line 70
- 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 getPlaceholder() {
return $this
->placeholder();
}