public function SlickDeleteForm::getConfirmText in Slick Carousel 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
- slick_ui/
src/ Form/ SlickDeleteForm.php, line 31
Class
- SlickDeleteForm
- Builds the form to delete a Slick optionset.
Namespace
Drupal\slick_ui\FormCode
public function getConfirmText() {
return $this
->t('Delete');
}