1 views_handler_field.inc views_handler_field::element_wrapper_classes($row_index = NULL)

Return the class of the field's wrapper.

File

core/modules/views/handlers/views_handler_field.inc, line 340
@todo.

Class

views_handler_field
Base field handler that has no options and renders an unformatted field.

Code

function element_wrapper_classes($row_index = NULL) {
  $classes = explode(' ', $this->options['element_wrapper_class']);
  foreach ($classes as &$class) {
    $class = _views_tokenized_clean_css_identifier($class, $this, $row_index);
  }
  return implode(' ', $classes);
}