Commit 739eb268 authored by catch's avatar catch

Issue #2002478 by arielqgold: Rename Views method element_wrapper_classes() to...

Issue #2002478 by arielqgold: Rename Views method element_wrapper_classes() to elementWrapperClasses().
parent 6e95cc60
......@@ -349,7 +349,7 @@ function element_label_classes($row_index = NULL) {
/**
* Return the class of the field's wrapper.
*/
function element_wrapper_classes($row_index = NULL) {
public function elementWrapperClasses($row_index = NULL) {
$classes = explode(' ', $this->options['element_wrapper_class']);
foreach ($classes as &$class) {
$class = $this->tokenize_value($class, $row_index);
......
......@@ -269,7 +269,7 @@ function template_preprocess_views_view_fields(&$vars) {
$attributes['class'][] = 'views-field-' . $object->class;
}
if ($classes = $object->handler->element_wrapper_classes($view->row_index)) {
if ($classes = $object->handler->elementWrapperClasses($view->row_index)) {
$attributes['class'][] = $classes;
}
$attributes = new Attribute($attributes);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment