You are here

public function ConditionDeleteForm::getConfirmText in Block Visibility Groups 8

Returns a caption for the button that confirms the action.

Return value

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

Overrides ConfirmFormBase::getConfirmText

File

src/Form/ConditionDeleteForm.php, line 55

Class

ConditionDeleteForm
Provides a form for deleting an condition.

Namespace

Drupal\block_visibility_groups\Form

Code

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