function lingotek_views_handler_workbench_link::element_type in Lingotek Translation 7.6
Same name and namespace in other branches
- 7.4 lingotek_views_handler_workbench_link.inc \lingotek_views_handler_workbench_link::element_type()
- 7.5 lingotek_views_handler_workbench_link.inc \lingotek_views_handler_workbench_link::element_type()
Return an HTML element based upon the field's element type.
Overrides views_handler_field::element_type
File
- ./
lingotek_views_handler_workbench_link.inc, line 64 - A handler to link to the Lingotek Workbench.
Class
- lingotek_views_handler_workbench_link
- @file A handler to link to the Lingotek Workbench.
Code
function element_type($none_supported = FALSE, $default_empty = FALSE, $inline = FALSE) {
if ($inline) {
return 'span';
}
if (isset($this->definition['element type'])) {
return $this->definition['element type'];
}
return 'div';
}