You are here

public function PostTypeDeleteForm::getConfirmText in Open Social 10.0.x

Same name and namespace in other branches
  1. 8.9 modules/social_features/social_post/src/Form/PostTypeDeleteForm.php \Drupal\social_post\Form\PostTypeDeleteForm::getConfirmText()
  2. 8 modules/social_features/social_post/src/Form/PostTypeDeleteForm.php \Drupal\social_post\Form\PostTypeDeleteForm::getConfirmText()
  3. 8.2 modules/social_features/social_post/src/Form/PostTypeDeleteForm.php \Drupal\social_post\Form\PostTypeDeleteForm::getConfirmText()
  4. 8.3 modules/social_features/social_post/src/Form/PostTypeDeleteForm.php \Drupal\social_post\Form\PostTypeDeleteForm::getConfirmText()
  5. 8.4 modules/social_features/social_post/src/Form/PostTypeDeleteForm.php \Drupal\social_post\Form\PostTypeDeleteForm::getConfirmText()
  6. 8.5 modules/social_features/social_post/src/Form/PostTypeDeleteForm.php \Drupal\social_post\Form\PostTypeDeleteForm::getConfirmText()
  7. 8.6 modules/social_features/social_post/src/Form/PostTypeDeleteForm.php \Drupal\social_post\Form\PostTypeDeleteForm::getConfirmText()
  8. 8.7 modules/social_features/social_post/src/Form/PostTypeDeleteForm.php \Drupal\social_post\Form\PostTypeDeleteForm::getConfirmText()
  9. 8.8 modules/social_features/social_post/src/Form/PostTypeDeleteForm.php \Drupal\social_post\Form\PostTypeDeleteForm::getConfirmText()
  10. 10.3.x modules/social_features/social_post/src/Form/PostTypeDeleteForm.php \Drupal\social_post\Form\PostTypeDeleteForm::getConfirmText()
  11. 10.1.x modules/social_features/social_post/src/Form/PostTypeDeleteForm.php \Drupal\social_post\Form\PostTypeDeleteForm::getConfirmText()
  12. 10.2.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\Form

Code

public function getConfirmText() {
  return $this
    ->t('Delete');
}