You are here

public function PreviewLinkInterface::getUrl in Preview Link 2.0.x

Same name and namespace in other branches
  1. 8 src/Entity/PreviewLinkInterface.php \Drupal\preview_link\Entity\PreviewLinkInterface::getUrl()
  2. 2.x src/Entity/PreviewLinkInterface.php \Drupal\preview_link\Entity\PreviewLinkInterface::getUrl()

The URL for this preview link for an entity.

Parameters

\Drupal\Core\Entity\EntityInterface $entity: A host entity.

Return value

\Drupal\Core\Url The url object.

1 method overrides PreviewLinkInterface::getUrl()
PreviewLink::getUrl in src/Entity/PreviewLink.php
The URL for this preview link for an entity.

File

src/Entity/PreviewLinkInterface.php, line 25

Class

PreviewLinkInterface
Interface for the preview link entity.

Namespace

Drupal\preview_link\Entity

Code

public function getUrl(EntityInterface $entity) : Url;