public function BlockGroupContentDeleteForm::getConfirmText in Block Group 8
Returns a caption for the button that confirms the action.
Return value
\Drupal\Core\StringTranslation\TranslatableMarkup The form confirmation text.
Overrides EntityConfirmFormBase::getConfirmText
File
- src/
Form/ BlockGroupContentDeleteForm.php, line 31
Class
- BlockGroupContentDeleteForm
- Builds the form to delete Block group content entities.
Namespace
Drupal\blockgroup\FormCode
public function getConfirmText() {
return $this
->t('Delete');
}