You are here

public function SliderProDeleteForm::getConfirmText in Slider Pro 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/SliderProDeleteForm.php, line 32

Class

SliderProDeleteForm
Class SliderProDeleteForm @package Drupal\slider_pro\Form

Namespace

Drupal\slider_pro\Form

Code

public function getConfirmText() {
  return $this
    ->t('Delete');
}