You are here

public function HomeboxLayoutRevisionDeleteForm::getConfirmText in Homebox 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/HomeboxLayoutRevisionDeleteForm.php, line 105

Class

HomeboxLayoutRevisionDeleteForm
Provides a form for deleting a Homebox Layout revision.

Namespace

Drupal\homebox\Form

Code

public function getConfirmText() {
  return t('Delete');
}