function BlockDeleteForm::getConfirmText

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

Overrides EntityDeleteFormTrait::getConfirmText

File

core/modules/block/src/Form/BlockDeleteForm.php, line 25

Class

BlockDeleteForm
Provides a deletion confirmation form for the block instance deletion form.

Namespace

Drupal\block\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.