function views_handler_field_markup::element_type
Overrides views_handler_field::element_type
File
-
handlers/
views_handler_field_markup.inc, line 55
Class
- views_handler_field_markup
- A handler to run a field through check_markup, using a companion format field.
Code
public 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';
}