public function PrepareHttpblEntityUninstallForm::getQuestion in http:BL 8
Returns the question to ask the user.
Return value
\Drupal\Core\StringTranslation\TranslatableMarkup The form question. The page title will be set to this value.
Overrides PrepareModulesEntityUninstallForm::getQuestion
File
- src/
Form/ PrepareHttpblEntityUninstallForm.php, line 68
Class
- PrepareHttpblEntityUninstallForm
- Provides a form removing httpbl content entities data before uninstallation.
Namespace
Drupal\httpbl\FormCode
public function getQuestion() {
$entity_type = $this->entityTypeManager
->getDefinition($this->entityTypeId);
return $this
->t('You are about to delete all @entity_type_plural + Ban_ip records banned by HttpBL. Are you sure you want to do this?', [
'@entity_type_plural' => $entity_type
->getPluralLabel(),
]);
}