function entity_translation_handler_field_label::option_definition in Entity Translation 7
Add a 'link to entity' option definition.
Overrides views_handler_field::option_definition
See also
views_handler_field::option:definition()
File
- views/
entity_translation_handler_field_label.inc, line 25 - 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 option_definition() {
$options = parent::option_definition();
$options['link_to_entity'] = array(
'default' => '',
'translatable' => FALSE,
);
return $options;
}