public function PostTypeDeleteForm::getConfirmText 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::getConfirmText()
- 8 modules/social_features/social_post/src/Form/PostTypeDeleteForm.php \Drupal\social_post\Form\PostTypeDeleteForm::getConfirmText()
- 8.2 modules/social_features/social_post/src/Form/PostTypeDeleteForm.php \Drupal\social_post\Form\PostTypeDeleteForm::getConfirmText()
- 8.3 modules/social_features/social_post/src/Form/PostTypeDeleteForm.php \Drupal\social_post\Form\PostTypeDeleteForm::getConfirmText()
- 8.4 modules/social_features/social_post/src/Form/PostTypeDeleteForm.php \Drupal\social_post\Form\PostTypeDeleteForm::getConfirmText()
- 8.5 modules/social_features/social_post/src/Form/PostTypeDeleteForm.php \Drupal\social_post\Form\PostTypeDeleteForm::getConfirmText()
- 8.6 modules/social_features/social_post/src/Form/PostTypeDeleteForm.php \Drupal\social_post\Form\PostTypeDeleteForm::getConfirmText()
- 8.7 modules/social_features/social_post/src/Form/PostTypeDeleteForm.php \Drupal\social_post\Form\PostTypeDeleteForm::getConfirmText()
- 8.8 modules/social_features/social_post/src/Form/PostTypeDeleteForm.php \Drupal\social_post\Form\PostTypeDeleteForm::getConfirmText()
- 10.3.x modules/social_features/social_post/src/Form/PostTypeDeleteForm.php \Drupal\social_post\Form\PostTypeDeleteForm::getConfirmText()
- 10.0.x modules/social_features/social_post/src/Form/PostTypeDeleteForm.php \Drupal\social_post\Form\PostTypeDeleteForm::getConfirmText()
- 10.1.x modules/social_features/social_post/src/Form/PostTypeDeleteForm.php \Drupal\social_post\Form\PostTypeDeleteForm::getConfirmText()
Returns a caption for the button that confirms the action.
Return value
\Drupal\Core\StringTranslation\TranslatableMarkup The form confirmation text.
Overrides EntityConfirmFormBase::getConfirmText
File
- modules/
social_features/ social_post/ src/ Form/ PostTypeDeleteForm.php, line 31
Class
- PostTypeDeleteForm
- Builds the form to delete Post type entities.
Namespace
Drupal\social_post\FormCode
public function getConfirmText() {
return $this
->t('Delete');
}