protected function DisplayLink::isPathBasedDisplay in Drupal 10
Same name and namespace in other branches
- 8 core/modules/views/src/Plugin/views/area/DisplayLink.php \Drupal\views\Plugin\views\area\DisplayLink::isPathBasedDisplay()
- 9 core/modules/views/src/Plugin/views/area/DisplayLink.php \Drupal\views\Plugin\views\area\DisplayLink::isPathBasedDisplay()
Check if a views display is a path-based display.
Parameters
string $display_id: The display ID to check.
Return value
bool Whether the display ID is an allowed display or not.
3 calls to DisplayLink::isPathBasedDisplay()
- DisplayLink::buildOptionsForm in core/
modules/ views/ src/ Plugin/ views/ area/ DisplayLink.php - DisplayLink::render in core/
modules/ views/ src/ Plugin/ views/ area/ DisplayLink.php - Render the area.
- DisplayLink::validate in core/
modules/ views/ src/ Plugin/ views/ area/ DisplayLink.php
File
- core/
modules/ views/ src/ Plugin/ views/ area/ DisplayLink.php, line 220
Class
- DisplayLink
- Views area display_link handler.
Namespace
Drupal\views\Plugin\views\areaCode
protected function isPathBasedDisplay($display_id) {
$loaded_display = $this->view->displayHandlers
->get($display_id);
return $loaded_display instanceof PathPluginBase;
}