public function PrepareHttpblEntityUninstallForm::getConfirmText in http:BL 8
Returns a caption for the button that confirms the action.
Return value
\Drupal\Core\StringTranslation\TranslatableMarkup The form confirmation text.
Overrides PrepareModulesEntityUninstallForm::getConfirmText
File
- src/
Form/ PrepareHttpblEntityUninstallForm.php, line 93
Class
- PrepareHttpblEntityUninstallForm
- Provides a form removing httpbl content entities data before uninstallation.
Namespace
Drupal\httpbl\FormCode
public function getConfirmText() {
$entity_type = $this->entityTypeManager
->getDefinition($this->entityTypeId);
return $this
->t('Delete and Un-Ban all @entity_type_plural', [
'@entity_type_plural' => $entity_type
->getPluralLabel(),
]);
}