diff --git a/core/modules/views/lib/Drupal/views/Plugin/views/field/FieldPluginBase.php b/core/modules/views/lib/Drupal/views/Plugin/views/field/FieldPluginBase.php index bc8dfff..aeb7a74 100644 --- a/core/modules/views/lib/Drupal/views/Plugin/views/field/FieldPluginBase.php +++ b/core/modules/views/lib/Drupal/views/Plugin/views/field/FieldPluginBase.php @@ -246,7 +246,7 @@ function element_label_type($none_supported = FALSE, $default_empty = FALSE) { /** * Return an HTML element for the wrapper based upon the field's element type. */ - function element_wrapper_type($none_supported = FALSE, $default_empty = FALSE) { + public function elementWrapperType($none_supported = FALSE, $default_empty = FALSE) { if ($none_supported) { if ($this->options['element_wrapper_type'] === '0') { return 0; diff --git a/core/modules/views/views.theme.inc b/core/modules/views/views.theme.inc index 049815c..8a66d29 100644 --- a/core/modules/views/views.theme.inc +++ b/core/modules/views/views.theme.inc @@ -253,7 +253,7 @@ function template_preprocess_views_view_fields(&$vars) { $object->class = drupal_clean_css_identifier($id); $previous_inline = $object->inline; - $object->inline_html = $object->handler->element_wrapper_type(TRUE, TRUE); + $object->inline_html = $object->handler->elementWrapperType(TRUE, TRUE); if ($object->inline_html === '' && $vars['options']['default_field_elements']) { $object->inline_html = $object->inline ? 'span' : 'div'; }