Loading src/FormAlter.php +8 −1 Original line number Diff line number Diff line Loading @@ -37,7 +37,14 @@ class FormAlter { return; } // Try to get section from storage, if section doesn't exist, we can exit. try { $section = $sectionStorage->getSection($delta); } catch (\Exception $ignored) { return; } $configuration = $section->getThirdPartySetting('layout_builder_limit', 'limit', LayoutBuilderLimit::DEFAULT_CONFIGURATION); // Set current values from form. $values = $form_state->getValues(); Loading Loading
src/FormAlter.php +8 −1 Original line number Diff line number Diff line Loading @@ -37,7 +37,14 @@ class FormAlter { return; } // Try to get section from storage, if section doesn't exist, we can exit. try { $section = $sectionStorage->getSection($delta); } catch (\Exception $ignored) { return; } $configuration = $section->getThirdPartySetting('layout_builder_limit', 'limit', LayoutBuilderLimit::DEFAULT_CONFIGURATION); // Set current values from form. $values = $form_state->getValues(); Loading