You are here

public function Link::getUri in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/jsonapi/src/JsonApiResource/Link.php \Drupal\jsonapi\JsonApiResource\Link::getUri()
  2. 10 core/modules/jsonapi/src/JsonApiResource/Link.php \Drupal\jsonapi\JsonApiResource\Link::getUri()

Gets the link's URI.

Return value

\Drupal\Core\Url The link's URI as a Url object.

File

core/modules/jsonapi/src/JsonApiResource/Link.php, line 97

Class

Link
Represents an RFC8288 based link.

Namespace

Drupal\jsonapi\JsonApiResource

Code

public function getUri() {
  return $this->uri;
}