Closed Radcliffe closed 5 years ago
Ha! Coincedentally, I'm the one who RTBCed that issue on d.o. I remember dealing with this on a D7 site and the fix is obvious imo.
->get_field()
renders the output of the field, while ->get_field_value()
deals with the raw values. I can't think of a reason why you wouldn't want the rendered field value. If you look at all the other template_preprocess_*
functions in theme.inc, they all use ->get_field()
instead of ->get_field_value()
... except the tabs plugin.
I haven't tested the patch, but it makes perfect sense to me. Considered this reviewed +1.
Needs review. Based on https://www.drupal.org/project/views_bootstrap/issues/2742547#comment-12607711