It would be great to have more variables available in theme_views_bulk_operations_confirmation().
The attached patch adds "operation" and "form_state['values']".

Comments

McGo’s picture

patch works great.

bojanz’s picture

Issue summary: View changes
Status: Needs review » Needs work

I am fine with adding 'operation' => $operation, 'select_all_pages' => $form_state['select_all_pages'] but I don't see a point in adding 'values' when we are already passing rows.
So how about just adding those two?

stborchert’s picture

Sounds good.
I must admit, I have now idea why $row wasn't enough in our case ...

bojanz’s picture

Title: Make additional variables available in theme_views_bulk_operations_confirmation » Pass the operation to theme_views_bulk_operations_confirmation
Status: Needs work » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.