function DisplayPluginInterface::getRoutedDisplay
Same name in other branches
- 9 core/modules/views/src/Plugin/views/display/DisplayPluginInterface.php \Drupal\views\Plugin\views\display\DisplayPluginInterface::getRoutedDisplay()
- 10 core/modules/views/src/Plugin/views/display/DisplayPluginInterface.php \Drupal\views\Plugin\views\display\DisplayPluginInterface::getRoutedDisplay()
- 11.x 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();
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.