function views_handler_field::element_wrapper_classes
Same name in other branches
- 6.x-3.x handlers/views_handler_field.inc \views_handler_field::element_wrapper_classes()
Return the class of the field's wrapper.
File
-
handlers/
views_handler_field.inc, line 383
Class
- views_handler_field
- Base field handler that has no options and renders an unformatted field.
Code
public function element_wrapper_classes($row_index = NULL) {
$classes = explode(' ', $this->options['element_wrapper_class']);
foreach ($classes as &$class) {
$class = $this->tokenize_value($class, $row_index);
$class = views_clean_css_identifier($class);
}
unset($class);
return implode(' ', $classes);
}