Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
ui_patterns
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
ui_patterns
Commits
84f6559a
Commit
84f6559a
authored
1 month ago
by
Jatin Gupta
Committed by
Edouard Cunibil
1 month ago
Browse files
Options
Downloads
Patches
Plain Diff
Issue
#3530397
: PHP Error after the ui_patterns and ui_patterns_library modules upgraded to 1.11.0
parent
a3f31d33
Branches
8.x-1.x
Tags
8.x-1.13
1 merge request
!404
Issue #3311480 by pdureau, Grimreaper, DuaelFr: Reduce preprocess hooks usage...
Pipeline
#524458
passed
1 month ago
Stage: build
Stage: validate
Stage: test
Changes
1
Pipelines
2
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
modules/ui_patterns_layouts/src/Plugin/Layout/PatternLayout.php
+1
-0
1 addition, 0 deletions
...s/ui_patterns_layouts/src/Plugin/Layout/PatternLayout.php
with
1 addition
and
0 deletions
modules/ui_patterns_layouts/src/Plugin/Layout/PatternLayout.php
+
1
−
0
View file @
84f6559a
...
...
@@ -108,6 +108,7 @@ class PatternLayout extends LayoutDefault implements PluginFormInterface, Contai
// Prepend a new pre_render method that will copy back altered field arrays
// to the #fields variable.
$build
[
'#pre_render'
]
=
$build
[
'#pre_render'
]
??
[];
array_unshift
(
$build
[
'#pre_render'
],
[
get_class
(
$this
),
'preProcessFields'
]);
return
$build
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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