You are here

public function LinkItemInterface::getUrl in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/link/src/LinkItemInterface.php \Drupal\link\LinkItemInterface::getUrl()

Gets the URL object.

Return value

\Drupal\Core\Url Returns an Url object.

1 method overrides LinkItemInterface::getUrl()
LinkItem::getUrl in core/modules/link/src/Plugin/Field/FieldType/LinkItem.php
Gets the URL object.

File

core/modules/link/src/LinkItemInterface.php, line 46
Contains \Drupal\link\LinkItemInterface.

Class

LinkItemInterface
Defines an interface for the link field item.

Namespace

Drupal\link

Code

public function getUrl();