class TMGMTLocalTaskItemViewsController in Translation Management Tool 7
Views controller class for the translation task item entity.
Hierarchy
Expanded class hierarchy of TMGMTLocalTaskItemViewsController
1 string reference to 'TMGMTLocalTaskItemViewsController'
- tmgmt_local_entity_info in translators/
tmgmt_local/ tmgmt_local.module - Implements hook_entity_info().
File
- translators/
tmgmt_local/ views/ tmgmt_local.views.inc, line 78 - Contains Views controllers for the translation management local task module.
View source
class TMGMTLocalTaskItemViewsController extends EntityDefaultViewsController {
/**
* {@inheritdoc}
*/
public function views_data() {
$data = parent::views_data();
$data['tmgmt_local_task_item']['operations'] = array(
'title' => t('Operations'),
'help' => t('Displays a list of operations which are available for a task item.'),
'real field' => 'tltiid',
'field' => array(
'handler' => 'tmgmt_local_task_handler_field_item_operations',
),
);
return $data;
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
EntityDefaultViewsController:: |
protected | property | ||
EntityDefaultViewsController:: |
public | function | Determines the handler to use for a relationship to an entity type. | |
EntityDefaultViewsController:: |
protected | function | Comes up with views information based on the given schema and property info. | |
EntityDefaultViewsController:: |
public static | function | A callback returning property options, suitable to be used as views options callback. | |
EntityDefaultViewsController:: |
protected | function | Try to come up with some views fields with the help of the schema and the entity property information. | |
EntityDefaultViewsController:: |
protected | function | Try to come up with some views fields with the help of the revision schema and the entity property information. | |
EntityDefaultViewsController:: |
public | function | ||
TMGMTLocalTaskItemViewsController:: |
public | function |
Defines the result for hook_views_data(). Overrides EntityDefaultViewsController:: |