Skip to content
Snippets Groups Projects
Commit ea37adfd authored by Ray Walters's avatar Ray Walters Committed by Florent Torregrosa
Browse files

Issue #3406383 by raywalters, Grimreaper, Ahmad Abbad, pdureau: Calling static...

Issue #3406383 by raywalters, Grimreaper, Ahmad Abbad, pdureau: Calling static trait method is deprecated
parent e3d52c0f
No related branches found
No related tags found
1 merge request!50Use an anonymous class to call the PatternDisplayFormTrait's methods.
......@@ -46,7 +46,7 @@ function ui_patterns_ds_field_overview_submit(array $form, FormStateInterface $f
});
foreach ($components as $name => $component) {
PatternDisplayFormTrait::processFormStateValues($component['third_party_settings']['ds']['ft']['settings']);
(new class { use PatternDisplayFormTrait; })::processFormStateValues($component['third_party_settings']['ds']['ft']['settings']);
$display->setComponent($name, $component);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment