public function SliderDeleteForm::getConfirmText in Image sliders 8
Returns a caption for the button that confirms the action.
Return value
\Drupal\Core\StringTranslation\TranslatableMarkup The form confirmation text.
Overrides ContentEntityConfirmFormBase::getConfirmText
File
- src/
Form/ SliderDeleteForm.php, line 35
Class
- SliderDeleteForm
- Provides a form for deleting a image_slider entity.
Namespace
Drupal\image_slider\FormCode
public function getConfirmText() {
return $this
->t('Delete');
}