Skip to content
Snippets Groups Projects
Commit 5e3d653f authored by simon's avatar simon
Browse files

fix: HOOK_views_pre_render signature

parent 4c10cbfb
Branches 2.x
No related merge requests found
Pipeline #8535 passed with warnings with stages
in 2 minutes and 53 seconds
......@@ -287,7 +287,7 @@ function template_preprocess_views_style_matrixtable_view_matrixtable(&$variable
unset($view->attach_before['matrix-data']);
}
function views_style_matrixtable_views_pre_render(&$view) {
function views_style_matrixtable_views_pre_render($view) {
$plugin = $view->getDisplay()->getPlugin('style');
if ($plugin && $plugin->getPluginId() == 'matrix_table') {
// you can add additional col / row / cell data in eg $view->attach_before['matrix-cols']
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment