You are here

public function TestExample::defineOptions in Views (for Drupal 7) 8.3

Overrides Drupal\views\Plugin\views\area\AreaPluginBase::option_definition().

Overrides AreaPluginBase::defineOptions

File

tests/views_test_data/lib/Drupal/views_test_data/Plugin/views/area/TestExample.php, line 27
Definition of Drupal\views_test_data\Plugin\views\area\TestExample

Class

TestExample
Test area plugin.

Namespace

Drupal\views_test_data\Plugin\views\area

Code

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