You are here

public function ScheduledUpdateDeleteForm::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 ContentEntityConfirmFormBase::getConfirmText

File

src/Entity/Form/ScheduledUpdateDeleteForm.php, line 37
Contains \Drupal\scheduled_updates\Entity\Form\ScheduledUpdateDeleteForm.

Class

ScheduledUpdateDeleteForm
Provides a form for deleting Scheduled update entities.

Namespace

Drupal\scheduled_updates\Entity\Form

Code

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