public function BlockDeleteForm::getQuestion in Drupal 8
Same name and namespace in other branches
- 9 core/modules/block/src/Form/BlockDeleteForm.php \Drupal\block\Form\BlockDeleteForm::getQuestion()
Overrides EntityDeleteFormTrait::getQuestion
File
- core/
modules/ block/ src/ Form/ BlockDeleteForm.php, line 32
Class
- BlockDeleteForm
- Provides a deletion confirmation form for the block instance deletion form.
Namespace
Drupal\block\FormCode
public function getQuestion() {
return $this
->t('Are you sure you want to remove the @entity-type %label?', [
'@entity-type' => $this
->getEntity()
->getEntityType()
->getSingularLabel(),
'%label' => $this
->getEntity()
->label(),
]);
}