diff --git a/core/modules/views/src/ViewExecutable.php b/core/modules/views/src/ViewExecutable.php index 5e6723b..be6f691 100644 --- a/core/modules/views/src/ViewExecutable.php +++ b/core/modules/views/src/ViewExecutable.php @@ -1740,6 +1740,18 @@ public function getUrl($args = NULL, $path = NULL) { return implode('/', $pieces); } + /** + * Gets the Url object associated with the display handler. + * + * @param string $display_id + * (Optional) The display id. ( Used only to detail an exception. ) + * + * @throws \InvalidArgumentException + * Thrown when the display plugin does not have a URL to return. + * + * @return \Drupal\Core\Url + * The display handlers URL object. + */ public function getUrlInfo($display_id = '') { $this->initDisplay(); if (!$this->display_handler instanceof DisplayRouterInterface) {