Skip to content
Snippets Groups Projects

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

1 file
+ 4
0
Compare changes
  • Side-by-side
  • Inline
@@ -29,6 +29,10 @@ class FormLayoutBuilderConfigureSectionAlter {
$formObject = $formState->getFormObject();
$section = $formObject->getCurrentSection();
if (str_starts_with($section->getLayoutId(), 'ui_patterns:')) {
return;
}
// Section.
$form['ui_styles'] = [
'#type' => 'container',
Loading