Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. PathPluginBase.php

function PathPluginBase::getAlteredRouteNames

Overrides DisplayRouterInterface::getAlteredRouteNames

1 call to PathPluginBase::getAlteredRouteNames()
PathPluginBase::getRouteName in core/modules/views/src/Plugin/views/display/PathPluginBase.php
Returns the route name for the display.

File

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

Class

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

Namespace

Drupal\views\Plugin\views\display

Code

public function getAlteredRouteNames() {
    return $this->state
        ->get('views.view_route_names', []);
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal