class TMGMTTranslatorMetadataController in Translation Management Tool 7
Metadata controller for the translator entity.
Hierarchy
Expanded class hierarchy of TMGMTTranslatorMetadataController
1 string reference to 'TMGMTTranslatorMetadataController'
- tmgmt_entity_info in ./
tmgmt.module - Implements hook_entity_info().
File
- includes/
tmgmt.info.inc, line 134 - Contains the metadata controller classes for the Translation Management Tool entities.
View source
class TMGMTTranslatorMetadataController extends EntityDefaultMetadataController {
/**
* {@inheritdoc}
*/
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;
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
EntityDefaultMetadataController:: |
protected | property | ||
EntityDefaultMetadataController:: |
public static | function | A options list callback returning all bundles for an entity type. | |
EntityDefaultMetadataController:: |
protected | function | Return a set of properties for an entity based on the schema definition | |
EntityDefaultMetadataController:: |
public | function | ||
TMGMTTranslatorMetadataController:: |
public | function |
Overrides EntityDefaultMetadataController:: |