function views_handler_field::element_label_classes

Same name in other branches
  1. 6.x-3.x handlers/views_handler_field.inc \views_handler_field::element_label_classes()

Return the class of the field's label.

File

handlers/views_handler_field.inc, line 370

Class

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

Code

public function element_label_classes($row_index = NULL) {
    $classes = explode(' ', $this->options['element_label_class']);
    foreach ($classes as &$class) {
        $class = $this->tokenize_value($class, $row_index);
        $class = views_clean_css_identifier($class);
    }
    unset($class);
    return implode(' ', $classes);
}