$this->pluginInfo['label'], '@item' => $job_item->item_type . ':' . $job_item->item_id)); } /** * {@inheritdoc} */ public function getUri(TMGMTJobItem $job_item) { return array( 'path' => '', 'options' => array(), ); } /** * {@inheritdoc} */ public function getItemTypes() { return isset($this->pluginInfo['item types']) ? $this->pluginInfo['item types'] : array(); } /** * {@inheritdoc} */ public function getItemTypeLabel($type) { $types = $this->getItemTypes(); if (isset($types[$type])) { return $types[$type]; } return ''; } /** * {@inheritdoc} */ public function getType(TMGMTJobItem $job_item) { return ucfirst($job_item->item_type); } /** * {@inheritdoc} */ public function getExistingLangCodes(TMGMTJobItem $job_item) { return array(); } }