function LayoutRebuildConfirmFormBase::handleSectionStorage
Performs any actions on the section storage before saving.
Parameters
\Drupal\layout_builder\SectionStorageInterface $section_storage: The section storage.
\Drupal\Core\Form\FormStateInterface $form_state: The current state of the form.
1 call to LayoutRebuildConfirmFormBase::handleSectionStorage()
- LayoutRebuildConfirmFormBase::submitForm in core/
modules/ layout_builder/ src/ Form/ LayoutRebuildConfirmFormBase.php  - Form submission handler.
 
2 methods override LayoutRebuildConfirmFormBase::handleSectionStorage()
- RemoveBlockForm::handleSectionStorage in core/
modules/ layout_builder/ src/ Form/ RemoveBlockForm.php  - Performs any actions on the section storage before saving.
 - RemoveSectionForm::handleSectionStorage in core/
modules/ layout_builder/ src/ Form/ RemoveSectionForm.php  - Performs any actions on the section storage before saving.
 
File
- 
              core/
modules/ layout_builder/ src/ Form/ LayoutRebuildConfirmFormBase.php, line 126  
Class
- LayoutRebuildConfirmFormBase
 - Provides a base class for confirmation forms that rebuild the Layout Builder.
 
Namespace
Drupal\layout_builder\FormCode
abstract protected function handleSectionStorage(SectionStorageInterface $section_storage, FormStateInterface $form_state);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.