function RemoveBlockForm::handleSectionStorage
Same name in other branches
- 9 core/modules/layout_builder/src/Form/RemoveBlockForm.php \Drupal\layout_builder\Form\RemoveBlockForm::handleSectionStorage()
- 8.9.x core/modules/layout_builder/src/Form/RemoveBlockForm.php \Drupal\layout_builder\Form\RemoveBlockForm::handleSectionStorage()
- 10 core/modules/layout_builder/src/Form/RemoveBlockForm.php \Drupal\layout_builder\Form\RemoveBlockForm::handleSectionStorage()
Overrides LayoutRebuildConfirmFormBase::handleSectionStorage
File
-
core/
modules/ layout_builder/ src/ Form/ RemoveBlockForm.php, line 69
Class
- RemoveBlockForm
- Provides a form to confirm the removal of a block.
Namespace
Drupal\layout_builder\FormCode
protected function handleSectionStorage(SectionStorageInterface $section_storage, FormStateInterface $form_state) {
$section_storage->getSection($this->delta)
->removeComponent($this->uuid);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.