public function ContinuousSourceInterface::shouldCreateContinuousItem

Checks whether the continuous job item should be created.

Parameters

\Drupal\tmgmt\Entity\Job $job: Continuous job.

string $plugin: The plugin name.

string $item_type: The source item type.

string $item_id: The source item id.

Return value

bool TRUE if continuous job item should be created, FALSE if not.

1 method overrides ContinuousSourceInterface::shouldCreateContinuousItem()
ContentEntitySource::shouldCreateContinuousItem in sources/content/src/Plugin/tmgmt/Source/ContentEntitySource.php
Checks whether the continuous job item should be created.

File

src/ContinuousSourceInterface.php, line 46

Class

ContinuousSourceInterface
Interface for continuous sources.

Namespace

Drupal\tmgmt

Code

public function shouldCreateContinuousItem(Job $job, $plugin, $item_type, $item_id);