Skip to content
Snippets Groups Projects
Commit ee50d1d6 authored by Brian Osborne's avatar Brian Osborne
Browse files

Don't hardcode the default value for 'type' of LB style anymore.

parent f1eb1e7d
No related branches found
No related tags found
No related merge requests found
......@@ -87,7 +87,7 @@ class LayoutBuilderStyleForm extends EntityForm implements ContainerInjectionInt
$form['type'] = [
'#title' => $this->t('Type'),
'#type' => 'radios',
'#default_value' => LayoutBuilderStyleInterface::TYPE_COMPONENT,
'#default_value' => $style->getType(),
'#description' => $this->t('Determines if this style applies to sections or blocks.'),
'#required' => TRUE,
'#options' => [
......
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