public function EntityDeleteFormTrait::getConfirmText in Drupal 10
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Entity/EntityDeleteFormTrait.php \Drupal\Core\Entity\EntityDeleteFormTrait::getConfirmText()
- 9 core/lib/Drupal/Core/Entity/EntityDeleteFormTrait.php \Drupal\Core\Entity\EntityDeleteFormTrait::getConfirmText()
1 method overrides EntityDeleteFormTrait::getConfirmText()
- BlockDeleteForm::getConfirmText in core/
modules/ block/ src/ Form/ BlockDeleteForm.php
File
- core/
lib/ Drupal/ Core/ Entity/ EntityDeleteFormTrait.php, line 56
Class
- EntityDeleteFormTrait
- Provides a trait for an entity deletion form.
Namespace
Drupal\Core\EntityCode
public function getConfirmText() {
return $this
->t('Delete');
}