You are here

public function ConditionDeleteForm::getConfirmText in Context 8

Same name and namespace in other branches
  1. 8.4 modules/context_ui/src/Form/ConditionDeleteForm.php \Drupal\context_ui\Form\ConditionDeleteForm::getConfirmText()
  2. 8.0 modules/context_ui/src/Form/ConditionDeleteForm.php \Drupal\context_ui\Form\ConditionDeleteForm::getConfirmText()

Returns a caption for the button that confirms the action.

Return value

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

Overrides ConfirmFormBase::getConfirmText

File

modules/context_ui/src/Form/ConditionDeleteForm.php, line 81

Class

ConditionDeleteForm

Namespace

Drupal\context_ui\Form

Code

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