public function DisplayPluginInterface::getRoutedDisplay in Drupal 9
Same name and namespace in other branches
- 8 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
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\displayCode
public function getRoutedDisplay();