You are here

protected function DisplayTest::defineOptions in Views (for Drupal 7) 8.3

Overrides Drupal\views\Plugin\views\display\DisplayPluginBase::defineOptions().

Overrides DisplayPluginBase::defineOptions

File

tests/views_test_data/lib/Drupal/views_test_data/Plugin/views/display/DisplayTest.php, line 36
Definition of Drupal\views_test_data\Plugin\views\display\DisplayTest.

Class

DisplayTest
Defines a Display test plugin.

Namespace

Drupal\views_test_data\Plugin\views\display

Code

protected function defineOptions() {
  $options = parent::defineOptions();
  $options['test_option'] = array(
    'default' => '',
  );
  return $options;
}