public function PoolDeleteForm::getQuestion in CMS Content Sync 8
Same name and namespace in other branches
- 2.1.x src/Form/PoolDeleteForm.php \Drupal\cms_content_sync\Form\PoolDeleteForm::getQuestion()
- 2.0.x src/Form/PoolDeleteForm.php \Drupal\cms_content_sync\Form\PoolDeleteForm::getQuestion()
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
- src/
Form/ PoolDeleteForm.php, line 46
Class
- PoolDeleteForm
- Builds the form to delete an Pool.
Namespace
Drupal\cms_content_sync\FormCode
public function getQuestion() {
return $this
->t('Are you sure you want to delete %name?', [
'%name' => $this->entity
->label(),
]);
}