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

Breadcrumb

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

function DisplayPluginInterface::getRoutedDisplay

Points to the display which can be linked by this display.

If the display has route information, the display itself is returned. Otherwise, the configured linked display is returned. For example, if a block display links to a page display, the page display will be returned in both cases.

Return value

\Drupal\views\Plugin\views\display\DisplayRouterInterface|null

1 method overrides DisplayPluginInterface::getRoutedDisplay()
DisplayPluginBase::getRoutedDisplay in core/modules/views/src/Plugin/views/display/DisplayPluginBase.php
Points to the display which can be linked by this display.

File

core/modules/views/src/Plugin/views/display/DisplayPluginInterface.php, line 238

Class

DisplayPluginInterface
Provides an interface for Views display plugins.

Namespace

Drupal\views\Plugin\views\display

Code

public function getRoutedDisplay();

API Navigation

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