function LayoutRebuildConfirmFormBase::handleSectionStorage
Same name in other branches
- 8.9.x core/modules/layout_builder/src/Form/LayoutRebuildConfirmFormBase.php \Drupal\layout_builder\Form\LayoutRebuildConfirmFormBase::handleSectionStorage()
- 10 core/modules/layout_builder/src/Form/LayoutRebuildConfirmFormBase.php \Drupal\layout_builder\Form\LayoutRebuildConfirmFormBase::handleSectionStorage()
- 11.x core/modules/layout_builder/src/Form/LayoutRebuildConfirmFormBase.php \Drupal\layout_builder\Form\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 120
Class
- LayoutRebuildConfirmFormBase
- Provides a base class for confirmation forms that rebuild the Layout Builder.
Namespace
Drupal\layout_builder\FormCode
protected abstract 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.