You are here

public function SmartDateOverrideDeleteForm::getConfirmText in Smart Date 3.4.x

Same name and namespace in other branches
  1. 8.2 modules/smart_date_recur/src/Form/SmartDateOverrideDeleteForm.php \Drupal\smart_date_recur\Form\SmartDateOverrideDeleteForm::getConfirmText()
  2. 3.x modules/smart_date_recur/src/Form/SmartDateOverrideDeleteForm.php \Drupal\smart_date_recur\Form\SmartDateOverrideDeleteForm::getConfirmText()
  3. 3.0.x modules/smart_date_recur/src/Form/SmartDateOverrideDeleteForm.php \Drupal\smart_date_recur\Form\SmartDateOverrideDeleteForm::getConfirmText()
  4. 3.1.x modules/smart_date_recur/src/Form/SmartDateOverrideDeleteForm.php \Drupal\smart_date_recur\Form\SmartDateOverrideDeleteForm::getConfirmText()
  5. 3.2.x modules/smart_date_recur/src/Form/SmartDateOverrideDeleteForm.php \Drupal\smart_date_recur\Form\SmartDateOverrideDeleteForm::getConfirmText()
  6. 3.3.x modules/smart_date_recur/src/Form/SmartDateOverrideDeleteForm.php \Drupal\smart_date_recur\Form\SmartDateOverrideDeleteForm::getConfirmText()

Returns a caption for the button that confirms the action.

Return value

\Drupal\Core\StringTranslation\TranslatableMarkup The form confirmation text.

Overrides ContentEntityConfirmFormBase::getConfirmText

File

modules/smart_date_recur/src/Form/SmartDateOverrideDeleteForm.php, line 34

Class

SmartDateOverrideDeleteForm
Provides a deletion confirmation form for Smart Date Overrides.

Namespace

Drupal\smart_date_recur\Form

Code

public function getConfirmText() {
  return $this
    ->t('Revert to Default');
}