public function StyleTest::buildOptionsForm

Overrides Drupal\views\Plugin\views\style\StylePluginBase::buildOptionsForm().

Overrides StylePluginBase::buildOptionsForm

File

drupal/core/modules/views/tests/views_test_data/lib/Drupal/views_test_data/Plugin/views/style/StyleTest.php, line 49
Definition of Drupal\views_test_data\Plugin\views\style\StyleTest.

Class

StyleTest
Provides a general test style plugin.

Namespace

Drupal\views_test_data\Plugin\views\style

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