You are here

public function HomeboxDeleteForm::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 EntityConfirmFormBase::getConfirmText

File

src/Form/HomeboxDeleteForm.php, line 31

Class

HomeboxDeleteForm
Builds the form to delete Homebox entities.

Namespace

Drupal\homebox\Form

Code

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