public function TMGMTDefaultSourcePluginController::getItemTypes in Translation Management Tool 7
Returns an array of translatable source item types.
Overrides TMGMTSourcePluginControllerInterface::getItemTypes
1 call to TMGMTDefaultSourcePluginController::getItemTypes()
- TMGMTDefaultSourcePluginController::getItemTypeLabel in plugin/
tmgmt.plugin.source.inc - Returns the label of a source item type.
File
- plugin/
tmgmt.plugin.source.inc, line 35 - Contains the abstract source base plugin class.
Class
- TMGMTDefaultSourcePluginController
- Default controller class for source plugins.
Code
public function getItemTypes() {
return isset($this->pluginInfo['item types']) ? $this->pluginInfo['item types'] : array();
}