protected function Page::defineOptions

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

Overrides PathPluginBase::defineOptions

File

drupal/core/modules/views/lib/Drupal/views/Plugin/views/display/Page.php, line 50
Contains \Drupal\views\Plugin\views\display\Page.

Class

Page
The plugin that handles a full page.

Namespace

Drupal\views\Plugin\views\display

Code

protected function defineOptions() {
  $options = parent::defineOptions();
  $options['menu'] = array(
    'contains' => array(
      'type' => array(
        'default' => 'none',
      ),
      // Do not translate menu and title as menu system will.
      'title' => array(
        'default' => '',
        'translatable' => FALSE,
      ),
      'description' => array(
        'default' => '',
        'translatable' => FALSE,
      ),
      'weight' => array(
        'default' => 0,
      ),
      'name' => array(
        'default' => 'navigation',
      ),
      'context' => array(
        'default' => '',
      ),
    ),
  );
  $options['tab_options'] = array(
    'contains' => array(
      'type' => array(
        'default' => 'none',
      ),
      // Do not translate menu and title as menu system will.
      'title' => array(
        'default' => '',
        'translatable' => FALSE,
      ),
      'description' => array(
        'default' => '',
        'translatable' => FALSE,
      ),
      'weight' => array(
        'default' => 0,
      ),
      'name' => array(
        'default' => 'navigation',
      ),
    ),
  );
  return $options;
}