Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
In the set_items method $array
is undefined before this point:
if ($this->options['field_api_classes']) {
// Make a copy.
$array = $render_array;
return array(array('rendered' => drupal_render($render_array)));
}
So what is the point assigning $render_array to $array? Isn't this just waste of time?
Comment | File | Size | Author |
---|---|---|---|
#2 | views-2834290.patch | 523 bytes | larsmw |
Comments
Comment #2
larsmw CreditAttribution: larsmw commentedComment #3
renatogHi, guys.
I applied the patch and works good for me.
Really make sense @larsmw.
Thank you very much for your contribution.
Regards.
Comment #4
renatogComment #6
DamienMcKennaCommitted. Thanks.