You are here

public function ScheduledUpdateTypeDeleteForm::getConfirmText in Scheduled Updates 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/ScheduledUpdateTypeDeleteForm.php, line 35
Contains \Drupal\scheduled_updates\Form\ScheduledUpdateTypeDeleteForm.

Class

ScheduledUpdateTypeDeleteForm
Builds the form to delete Scheduled update type entities.

Namespace

Drupal\scheduled_updates\Form

Code

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