public function DisplayPluginBase::getUrl in Drupal 9
Same name and namespace in other branches
- 8 core/modules/views/src/Plugin/views/display/DisplayPluginBase.php \Drupal\views\Plugin\views\display\DisplayPluginBase::getUrl()
Returns a URL to $this display or its configured linked display.
Return value
\Drupal\Core\Url|null
Overrides DisplayPluginInterface::getUrl
File
- core/
modules/ views/ src/ Plugin/ views/ display/ DisplayPluginBase.php, line 763
Class
- DisplayPluginBase
- Base class for views display plugins.
Namespace
Drupal\views\Plugin\views\displayCode
public function getUrl() {
return $this->view
->getUrl(NULL, $this->display['id']);
}