function tmgmt_cart_get in Translation Management Tool 8
Returns the cart service.
Return value
\Drupal\tmgmt\JobItemCart The cart object.
Related topics
File
- ./
tmgmt.module, line 1157 - Main module file for the Translation Management module.
Code
function tmgmt_cart_get() {
return \Drupal::service('tmgmt.cart');
}