function Page::getRouteAffectingOptions

Same name and namespace in other branches
  1. 11.x core/modules/views/src/Plugin/views/display/Page.php \Drupal\views\Plugin\views\display\Page::getRouteAffectingOptions()

Returns the display options whom update could affect the route on rebuild.

Return value

string[] Display options.

Overrides PathPluginBase::getRouteAffectingOptions

File

core/modules/views/src/Plugin/views/display/Page.php, line 614

Class

Page
The plugin that handles a full page.

Namespace

Drupal\views\Plugin\views\display

Code

protected function getRouteAffectingOptions() : array {
  return [
    parent::getRouteAffectingOptions(),
    'menu',
    'tab_options',
  ];
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.