Skip to content
Snippets Groups Projects
Commit b7200ef1 authored by Florent Torregrosa's avatar Florent Torregrosa
Browse files

Merge branch '3496352-ui-patterns-2' into '8.x-1.x'

Draft: Issue #3496352 by grimreaper: UI Patterns 2: remove styles on sections

See merge request !69
parents 164e5139 8b30fcf7
No related branches found
No related tags found
No related merge requests found
Pipeline #380537 passed
......@@ -64,6 +64,10 @@ class FormLayoutBuilderConfigureSectionAlter implements ContainerInjectionInterf
$formObject = $formState->getFormObject();
$section = $formObject->getCurrentSection();
if (str_starts_with($section->getLayoutId(), 'ui_patterns:')) {
return;
}
// Section.
/** @var array $selected */
$selected = $section->getThirdPartySetting('ui_styles', 'selected') ?: [];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment