public function TMGMTTranslatorMetadataController::entityPropertyInfo in Translation Management Tool 7
Overrides EntityDefaultMetadataController::entityPropertyInfo
File
- includes/
tmgmt.info.inc, line 139 - Contains the metadata controller classes for the Translation Management Tool entities.
Class
- TMGMTTranslatorMetadataController
- Metadata controller for the translator entity.
Code
public function entityPropertyInfo() {
$info = parent::entityPropertyInfo();
$info = _tmgmt_override_property_description($info, $this->type);
$properties =& $info[$this->type]['properties'];
// Options list callback for the translator plugin labels.
$properties['plugin']['options list'] = 'tmgmt_translator_plugin_labels';
return $info;
}