public function FrontendEnvironmentDeleteForm::getConfirmText in Build Hooks 8.2
Same name and namespace in other branches
- 3.x src/Form/FrontendEnvironmentDeleteForm.php \Drupal\build_hooks\Form\FrontendEnvironmentDeleteForm::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
- src/
Form/ FrontendEnvironmentDeleteForm.php, line 31
Class
- FrontendEnvironmentDeleteForm
- Builds the form to delete Frontend environment entities.
Namespace
Drupal\build_hooks\FormCode
public function getConfirmText() {
return $this
->t('Delete');
}