public function FieldGroupDeleteForm::getConfirmText in Field Group 8
Same name and namespace in other branches
- 8.3 src/Form/FieldGroupDeleteForm.php \Drupal\field_group\Form\FieldGroupDeleteForm::getConfirmText()
Returns a caption for the button that confirms the action.
Return value
\Drupal\Core\StringTranslation\TranslatableMarkup The form confirmation text.
Overrides ConfirmFormBase::getConfirmText
File
- src/
Form/ FieldGroupDeleteForm.php, line 71
Class
- FieldGroupDeleteForm
- Provides a form for removing a fieldgroup from a bundle.
Namespace
Drupal\field_group\FormCode
public function getConfirmText() {
return $this
->t('Delete');
}