You are here

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

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

Overrides StylePluginBase::defineOptions

File

tests/views_test_data/lib/Drupal/views_test_data/Plugin/views/style/StyleTest.php, line 39
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

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