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