public function CropTypeDeleteForm::getConfirmText in Crop API 8
Same name and namespace in other branches
- 8.2 src/Form/CropTypeDeleteForm.php \Drupal\crop\Form\CropTypeDeleteForm::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/ CropTypeDeleteForm.php, line 71
Class
- CropTypeDeleteForm
- Provides a form for crop type deletion.
Namespace
Drupal\crop\FormCode
public function getConfirmText() {
return t('Delete');
}