public function DisplayPluginBase::getPath in Views (for Drupal 7) 8.3
Return the base path to use for this display.
This can be overridden for displays that do strange things with the path.
2 calls to DisplayPluginBase::getPath()
- DisplayPluginBase::renderMoreLink in lib/
Drupal/ views/ Plugin/ views/ display/ DisplayPluginBase.php - Render the 'more' link
- Feed::attachTo in lib/
Drupal/ views/ Plugin/ views/ display/ Feed.php - Attach to another view.
File
- lib/
Drupal/ views/ Plugin/ views/ display/ DisplayPluginBase.php, line 686 - Definition of Drupal\views\Plugin\views\display\DisplayPluginBase.
Class
- DisplayPluginBase
- The default display plugin handler. Display plugins handle options and basic mechanisms for different output methods.
Namespace
Drupal\views\Plugin\views\displayCode
public function getPath() {
if ($this
->hasPath()) {
return $this
->getOption('path');
}
$display_id = $this
->getLinkDisplay();
if ($display_id && !empty($this->view->displayHandlers[$display_id]) && is_object($this->view->displayHandlers[$display_id])) {
return $this->view->displayHandlers[$display_id]
->getPath();
}
}