Skip to content
Snippets Groups Projects
Commit a4ed87ef authored by Chris Eastwood's avatar Chris Eastwood Committed by Antonio De Marco
Browse files

Include the current views row as a context (#180)

parent 13e064b7
No related branches found
No related tags found
No related merge requests found
......@@ -63,6 +63,7 @@ function template_preprocess_pattern_views_row(array &$variables) {
$variables['pattern']['#context']['view_name'] = $view->storage->id();
$variables['pattern']['#context']['display'] = $view->current_display;
$variables['pattern']['#context']['view'] = $view;
$variables['pattern']['#context']['row'] = $row;
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment