public function JobInterface::getMostRecentItem

Returns most recent job item attached to this job.

Parameters

string $plugin: The plugin name.

string $item_type: Source item type.

string $item_id: Source item ID.

Return value

\Drupal\tmgmt\JobItemInterface|null The most recent job item that matches that source or NULL if none exists.

1 method overrides JobInterface::getMostRecentItem()
Job::getMostRecentItem in src/Entity/Job.php
Returns most recent job item attached to this job.

File

src/JobInterface.php, line 236

Class

JobInterface
Interface for tmgmt_job entity.

Namespace

Drupal\tmgmt

Code

public function getMostRecentItem($plugin, $item_type, $item_id);