Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
V
views_style_matrixtable
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
modules
views_style_matrixtable
Commits
5e3d653f
Commit
5e3d653f
authored
9 months ago
by
simon
Browse files
Options
Downloads
Patches
Plain Diff
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
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
views_style_matrixtable.module
+1
-1
1 addition, 1 deletion
views_style_matrixtable.module
with
1 addition
and
1 deletion
views_style_matrixtable.module
+
1
−
1
View file @
5e3d653f
...
...
@@ -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']
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment