You are here

public function DisplayPluginInterface::getRoutedDisplay in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/views/src/Plugin/views/display/DisplayPluginInterface.php \Drupal\views\Plugin\views\display\DisplayPluginInterface::getRoutedDisplay()
  2. 9 core/modules/views/src/Plugin/views/display/DisplayPluginInterface.php \Drupal\views\Plugin\views\display\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

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();