public function ParallaxElementDeleteForm::getConfirmText in Parallax Background 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/ ParallaxElementDeleteForm.php, line 36
Class
- ParallaxElementDeleteForm
- Builds the form to delete Parallax element entities.
Namespace
Drupal\parallax_bg\FormCode
public function getConfirmText() {
return $this
->t('Delete');
}