You are here

public function JobItemCart::getJobItemsFromCart in Translation Management Tool 8

Gets job items in the cart.

Return value

\Drupal\tmgmt\JobItemInterface[] $items Job items in the cart.

1 call to JobItemCart::getJobItemsFromCart()
JobItemCart::isSourceItemAdded in src/JobItemCart.php
Checks if the source item has been added into the cart.

File

src/JobItemCart.php, line 117

Class

JobItemCart
Represents a job item cart.

Namespace

Drupal\tmgmt

Code

public function getJobItemsFromCart() {
  return JobItem::loadMultiple($this->cart);
}