Return the base path to use for this display.
This can be overridden for displays that do strange things with the path.
public function getPath() {
if ($this
->hasPath()) {
return $this
->getOption('path');
}
$display_id = $this
->getLinkDisplay();
if ($display_id && $this->view->displayHandlers
->has($display_id) && is_object($this->view->displayHandlers
->get($display_id))) {
return $this->view->displayHandlers
->get($display_id)
->getPath();
}
}