You are here

public function DisplayInterface::getUrl in Search API 8

Returns the URL of this display.

Return value

\Drupal\Core\Url|null The URL of the display, or NULL if there is no specific URL for it.

Deprecated

in search_api:8.x-1.0-beta5 and is removed from search_api:2.0.0. Use getPath() instead.

See also

https://www.drupal.org/node/2856050

1 method overrides DisplayInterface::getUrl()
DisplayPluginBase::getUrl in src/Display/DisplayPluginBase.php
Returns the URL of this display.

File

src/Display/DisplayInterface.php, line 56

Class

DisplayInterface
Defines an interface for display plugins.

Namespace

Drupal\search_api\Display

Code

public function getUrl();