Interface for source plugin controllers they may be previewed.
@package Drupal\tmgmt
Expanded class hierarchy of SourcePreviewInterface
All classes that implement SourcePreviewInterface
interface SourcePreviewInterface {
/**
* Returns preview url if preview is supported.
*
* @param \Drupal\tmgmt\JobItemInterface $job_item
* Job item.
*
* @return \Drupal\Core\Url
* Url object.
*/
public function getPreviewUrl(JobItemInterface $job_item);
}
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
SourcePreviewInterface:: |
public | function | Returns preview url if preview is supported. | 1 |