function FieldFormButtonTest::getValue
Overrides UncacheableFieldHandlerTrait::getValue
File
-
core/
modules/ views/ tests/ modules/ views_test_data/ src/ Plugin/ views/ field/ FieldFormButtonTest.php, line 24
Class
- FieldFormButtonTest
- A handler to provide a field that is completely custom by the administrator.
Namespace
Drupal\views_test_data\Plugin\views\fieldCode
public function getValue(ResultRow $row, $field = NULL) {
return '<!--form-item-' . $this->options['id'] . '--' . $row->index . '-->';
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.