function entity_translation_handler_field_label::construct in Entity Translation 7
Construct a new field handler.
Overrides views_handler_field::construct
File
- views/
entity_translation_handler_field_label.inc, line 11 - This file contains a label field handler for entity translation.
Class
- entity_translation_handler_field_label
- This handler shows the entity label for entities in the entity_translation table.
Code
function construct() {
parent::construct();
$this->additional_fields['entity_id'] = 'entity_id';
$this->additional_fields['entity_type'] = 'entity_type';
}