View paragraph doesn't trigger template_preprocess_views_view

Created on 29 May 2019, about 5 years ago
Updated 13 April 2024, 2 months ago

Testing on a page with two bp_view paragraphs and six blocks.

function MYTHEME_preprocess_views_view(&$variables) {
  dump(array_keys($variables));
}

With the above function in place, the six blocks dump data, but the two views that are added to the page via bp_view paragraphs do not. If I use MYTHEME_preprocess_views_view_unformatted(), this is triggered on all the expected (views_view_unformatted) views.. But for some reason views_view is not being called.

For context: I need to be able to use the views_view function to manipulate the data before rendering, since I am using views grouping and I want to limit the number of groups. views_view_unformatted is called within a single group.

πŸ› Bug report
Status

Closed: outdated

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States TLWatson

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024