Problem/Motivation
When adding a layout builder base library section, there's a validation error.
Warning: Undefined array key "id" in Drupal\layout_builder_base\Plugin\Layout\BaseLayoutBase->validateConfigurationForm() (line 555 of modules/contrib/layout_builder_base/src/Plugin/Layout/BaseLayoutBase.php).
Drupal\layout_builder_base\Plugin\Layout\BaseLayoutBase->validateConfigurationForm(Array, Object) (Line: 179)
Drupal\layout_builder\Form\ConfigureSectionForm->validateForm(Array, Object)
call_user_func_array(Array, Array) (Line: 82)
Drupal\Core\Form\FormValidator->executeValidateHandlers(Array, Object) (Line: 275)
Drupal\Core\Form\FormValidator->doValidateForm(Array, Object, 'layout_builder_configure_section') (Line: 118)
Drupal\Core\Form\FormValidator->validateForm('layout_builder_configure_section', Array, Object) (Line: 591)
Drupal\Core\Form\FormBuilder->processForm('layout_builder_configure_section', Array, Object) (Line: 323)
Drupal\Core\Form\FormBuilder->buildForm(Object, Object) (Line: 73)
Drupal\Core\Controller\FormController->getContentResult(Object, Object)
call_user_func_array(Array, Array) (Line: 123)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 580)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 124)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext(Array, Array) (Line: 97)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 163)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 74)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 58)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 48)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 48)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 51)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 51)
Drupal\Core\StackMiddleware\StackedHttpKernel->handle(Object, 1, 1) (Line: 686)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
Steps to reproduce
1. In the layout builder, add a section.
2. Choose a section from the layout builder base.
3. Click Add Section.
Proposed resolution
Fix the issue
Remaining tasks
User interface changes
API changes
Data model changes