public function TMGMTDefaultSourcePluginController::getLabel in Translation Management Tool 7
Return a title for this job item.
Parameters
TMGMTJobItem $job_item: The job item entity.
Overrides TMGMTSourcePluginControllerInterface::getLabel
2 calls to TMGMTDefaultSourcePluginController::getLabel()
- TMGMTI18nStringSourcePluginController::getLabel in sources/
i18n_string/ tmgmt_i18n_string.plugin.inc - Return a title for this job item.
- TMGMTNodeSourcePluginController::getLabel in sources/
node/ tmgmt_node.plugin.inc - Return a title for this job item.
5 methods override TMGMTDefaultSourcePluginController::getLabel()
- TMGMTEntitySourcePluginController::getLabel in sources/
entity/ tmgmt_entity.plugin.inc - Return a title for this job item.
- TMGMTI18nStringSourcePluginController::getLabel in sources/
i18n_string/ tmgmt_i18n_string.plugin.inc - Return a title for this job item.
- TMGMTLocaleSourcePluginController::getLabel in sources/
locale/ tmgmt_locale.plugin.inc - Return a title for this job item.
- TMGMTNodeSourcePluginController::getLabel in sources/
node/ tmgmt_node.plugin.inc - Return a title for this job item.
- TMGMTTestSourcePluginController::getLabel in tests/
tmgmt_test.plugin.source.inc - Return a title for this job item.
File
- plugin/
tmgmt.plugin.source.inc, line 18 - Contains the abstract source base plugin class.
Class
- TMGMTDefaultSourcePluginController
- Default controller class for source plugins.
Code
public function getLabel(TMGMTJobItem $job_item) {
return t('@plugin item unavailable (@item)', array(
'@plugin' => $this->pluginInfo['label'],
'@item' => $job_item->item_type . ':' . $job_item->item_id,
));
}