You are here

public function CallbackDeleteForm::getConfirmText in Empty Page 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/CallbackDeleteForm.php, line 34

Class

CallbackDeleteForm
Provides a form to delete a empty page.

Namespace

Drupal\empty_page\Form

Code

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