public function GroupContentDeleteForm::getConfirmText in Group 8
Same name and namespace in other branches
- 2.0.x src/Entity/Form/GroupContentDeleteForm.php \Drupal\group\Entity\Form\GroupContentDeleteForm::getConfirmText()
Returns a caption for the button that confirms the action.
Return value
\Drupal\Core\StringTranslation\TranslatableMarkup The form confirmation text.
Overrides ContentEntityConfirmFormBase::getConfirmText
1 method overrides GroupContentDeleteForm::getConfirmText()
- GroupLeaveForm::getConfirmText in src/
Form/ GroupLeaveForm.php - Returns a caption for the button that confirms the action.
File
- src/
Entity/ Form/ GroupContentDeleteForm.php, line 50
Class
- GroupContentDeleteForm
- Provides a form for deleting a group content entity.
Namespace
Drupal\group\Entity\FormCode
public function getConfirmText() {
return $this
->t('Delete');
}