You are here

public function HomeboxLayoutDeleteForm::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/HomeboxLayoutDeleteForm.php, line 34

Class

HomeboxLayoutDeleteForm
Provides a form for deleting Homebox Layout entities.

Namespace

Drupal\homebox\Form

Code

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