public function RowTest::buildOptionsForm in Views (for Drupal 7) 8.3
Overrides Drupal\views\Plugin\views\row\RowPluginBase::buildOptionsForm().
Overrides RowPluginBase::buildOptionsForm
File
- tests/
views_test_data/ lib/ Drupal/ views_test_data/ Plugin/ views/ row/ RowTest.php, line 49 - Definition of Drupal\views_test_data\Plugin\views\row\RowTest.
Class
- RowTest
- Provides a general test row plugin.
Namespace
Drupal\views_test_data\Plugin\views\rowCode
public function buildOptionsForm(&$form, &$form_state) {
parent::buildOptionsForm($form, $form_state);
$form['test_option'] = array(
'#type' => 'textfield',
'#description' => t('This is a textfield for test_option.'),
'#default_value' => $this->options['test_option'],
);
}