function RemoveBlockForm::getConfirmText

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

Overrides ConfirmFormBase::getConfirmText

File

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

Class

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

Namespace

Drupal\layout_builder\Form

Code

public function getConfirmText() {
    return $this->t('Remove');
}

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