You are here

public function SourcePreviewInterface::getPreviewUrl in Translation Management Tool 8

Returns preview url if preview is supported.

Parameters

\Drupal\tmgmt\JobItemInterface $job_item: Job item.

Return value

\Drupal\Core\Url Url object.

1 method overrides SourcePreviewInterface::getPreviewUrl()
ContentEntitySource::getPreviewUrl in sources/content/src/Plugin/tmgmt/Source/ContentEntitySource.php
Returns preview url if preview is supported.

File

src/SourcePreviewInterface.php, line 21

Class

SourcePreviewInterface
Interface for source plugin controllers they may be previewed.

Namespace

Drupal\tmgmt

Code

public function getPreviewUrl(JobItemInterface $job_item);