You are here

public function PagererPresetPaneResetForm::getConfirmText in Pagerer 8

Same name and namespace in other branches
  1. 8.2 src/Form/PagererPresetPaneResetForm.php \Drupal\pagerer\Form\PagererPresetPaneResetForm::getConfirmText()

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/PagererPresetPaneResetForm.php, line 123

Class

PagererPresetPaneResetForm
Form handler for Pagerer presets' panes.

Namespace

Drupal\pagerer\Form

Code

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