public function PostTypeDeleteForm::getQuestion in Open Social 10.2.x
Same name and namespace in other branches
- 8.9 modules/social_features/social_post/src/Form/PostTypeDeleteForm.php \Drupal\social_post\Form\PostTypeDeleteForm::getQuestion()
- 8 modules/social_features/social_post/src/Form/PostTypeDeleteForm.php \Drupal\social_post\Form\PostTypeDeleteForm::getQuestion()
- 8.2 modules/social_features/social_post/src/Form/PostTypeDeleteForm.php \Drupal\social_post\Form\PostTypeDeleteForm::getQuestion()
- 8.3 modules/social_features/social_post/src/Form/PostTypeDeleteForm.php \Drupal\social_post\Form\PostTypeDeleteForm::getQuestion()
- 8.4 modules/social_features/social_post/src/Form/PostTypeDeleteForm.php \Drupal\social_post\Form\PostTypeDeleteForm::getQuestion()
- 8.5 modules/social_features/social_post/src/Form/PostTypeDeleteForm.php \Drupal\social_post\Form\PostTypeDeleteForm::getQuestion()
- 8.6 modules/social_features/social_post/src/Form/PostTypeDeleteForm.php \Drupal\social_post\Form\PostTypeDeleteForm::getQuestion()
- 8.7 modules/social_features/social_post/src/Form/PostTypeDeleteForm.php \Drupal\social_post\Form\PostTypeDeleteForm::getQuestion()
- 8.8 modules/social_features/social_post/src/Form/PostTypeDeleteForm.php \Drupal\social_post\Form\PostTypeDeleteForm::getQuestion()
- 10.3.x modules/social_features/social_post/src/Form/PostTypeDeleteForm.php \Drupal\social_post\Form\PostTypeDeleteForm::getQuestion()
- 10.0.x modules/social_features/social_post/src/Form/PostTypeDeleteForm.php \Drupal\social_post\Form\PostTypeDeleteForm::getQuestion()
- 10.1.x modules/social_features/social_post/src/Form/PostTypeDeleteForm.php \Drupal\social_post\Form\PostTypeDeleteForm::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
- modules/
social_features/ social_post/ src/ Form/ PostTypeDeleteForm.php, line 17
Class
- PostTypeDeleteForm
- Builds the form to delete Post type entities.
Namespace
Drupal\social_post\FormCode
public function getQuestion() {
return $this
->t('Are you sure you want to delete %name?', [
'%name' => $this->entity
->label(),
]);
}