public function CacheflushEntityDeleteForm::getQuestion in CacheFlush 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 ConfirmFormInterface::getQuestion
File
- modules/
cacheflush_ui/ src/ Entity/ Form/ CacheflushEntityDeleteForm.php, line 41
Class
- CacheflushEntityDeleteForm
- Provides a form for deleting Xerox entity entities.
Namespace
Drupal\cacheflush_ui\Entity\FormCode
public function getQuestion() {
return $this
->t('Are you sure you want to delete entity %name?', [
'%name' => $this->entity
->label(),
]);
}