You are here

public function DisplayPluginBase::getUrl in Drupal 8

Same name and namespace in other branches
  1. 9 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\display

Code

public function getUrl() {
  return $this->view
    ->getUrl(NULL, $this->display['id']);
}