You are here

protected function PathPluginBase::defineOptions in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/views/src/Plugin/views/display/PathPluginBase.php \Drupal\views\Plugin\views\display\PathPluginBase::defineOptions()

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

Overrides DisplayPluginBase::defineOptions

3 calls to PathPluginBase::defineOptions()
Feed::defineOptions in core/modules/views/src/Plugin/views/display/Feed.php
Overrides \Drupal\views\Plugin\views\display\DisplayPluginBase:defineOptions().
Page::defineOptions in core/modules/views/src/Plugin/views/display/Page.php
Overrides \Drupal\views\Plugin\views\display\DisplayPluginBase:defineOptions().
RestExport::defineOptions in core/modules/rest/src/Plugin/views/display/RestExport.php
Overrides \Drupal\views\Plugin\views\display\DisplayPluginBase:defineOptions().
3 methods override PathPluginBase::defineOptions()
Feed::defineOptions in core/modules/views/src/Plugin/views/display/Feed.php
Overrides \Drupal\views\Plugin\views\display\DisplayPluginBase:defineOptions().
Page::defineOptions in core/modules/views/src/Plugin/views/display/Page.php
Overrides \Drupal\views\Plugin\views\display\DisplayPluginBase:defineOptions().
RestExport::defineOptions in core/modules/rest/src/Plugin/views/display/RestExport.php
Overrides \Drupal\views\Plugin\views\display\DisplayPluginBase:defineOptions().

File

core/modules/views/src/Plugin/views/display/PathPluginBase.php, line 115
Contains \Drupal\views\Plugin\views\display\PathPluginBase.

Class

PathPluginBase
The base display plugin for path/callbacks. This is used for pages and feeds.

Namespace

Drupal\views\Plugin\views\display

Code

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