function RemoveBlockForm::buildForm

Same name in other branches
  1. 9 core/modules/layout_builder/src/Form/RemoveBlockForm.php \Drupal\layout_builder\Form\RemoveBlockForm::buildForm()
  2. 8.9.x core/modules/layout_builder/src/Form/RemoveBlockForm.php \Drupal\layout_builder\Form\RemoveBlockForm::buildForm()
  3. 11.x core/modules/layout_builder/src/Form/RemoveBlockForm.php \Drupal\layout_builder\Form\RemoveBlockForm::buildForm()

Overrides LayoutRebuildConfirmFormBase::buildForm

File

core/modules/layout_builder/src/Form/RemoveBlockForm.php, line 60

Class

RemoveBlockForm
Provides a form to confirm the removal of a block.

Namespace

Drupal\layout_builder\Form

Code

public function buildForm(array $form, FormStateInterface $form_state, ?SectionStorageInterface $section_storage = NULL, $delta = NULL, $region = NULL, $uuid = NULL) {
    $this->region = $region;
    $this->uuid = $uuid;
    return parent::buildForm($form, $form_state, $section_storage, $delta);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.