Adds existing job items into the cart.
\Drupal\tmgmt\JobItemInterface[] $items: Job items to be added.
public function addExistingJobItems(array $items) {
foreach ($items as $item) {
if (!$this
->isSourceItemAdded($item
->getPlugin(), $item
->getItemType(), $item
->getItemId())) {
$this->cart[] = $item
->id();
}
}
}