public function RowTest::buildOptionsForm

Overrides Drupal\views\Plugin\views\row\RowPluginBase::buildOptionsForm().

Overrides RowPluginBase::buildOptionsForm

File

drupal/core/modules/views/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\row

Code

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'],
  );
}