function PathPluginBase::getRouteAffectingOptions

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

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

Return value

string[] Display options.

2 calls to PathPluginBase::getRouteAffectingOptions()
Page::getRouteAffectingOptions in core/modules/views/src/Plugin/views/display/Page.php
Returns the display options whom update could affect the route on rebuild.
PathPluginBase::postSaveView in core/modules/views/src/Plugin/views/display/PathPluginBase.php
Acts on a saved view.
1 method overrides PathPluginBase::getRouteAffectingOptions()
Page::getRouteAffectingOptions in core/modules/views/src/Plugin/views/display/Page.php
Returns the display options whom update could affect the route on rebuild.

File

core/modules/views/src/Plugin/views/display/PathPluginBase.php, line 607

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 getRouteAffectingOptions() : array {
  return [
    'path',
    'route_name',
    'arguments',
    'access',
    'enabled',
  ];
}

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