You are here

abstract protected function LayoutRebuildConfirmFormBase::handleSectionStorage in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/layout_builder/src/Form/LayoutRebuildConfirmFormBase.php \Drupal\layout_builder\Form\LayoutRebuildConfirmFormBase::handleSectionStorage()
  2. 9 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\Form

Code

protected abstract function handleSectionStorage(SectionStorageInterface $section_storage, FormStateInterface $form_state);