public function MediaWatermarkDeleteForm::getConfirmText in Media watermark 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/ MediaWatermarkDeleteForm.php, line 36
Class
- MediaWatermarkDeleteForm
- Class MediaWatermarkDeleteForm.
Namespace
Drupal\media_watermark\FormCode
public function getConfirmText() {
return $this
->t('Delete');
}