You are here

public function FlippingBookTypeDeleteForm::getConfirmText in Flipping Book 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/FlippingBookTypeDeleteForm.php, line 31

Class

FlippingBookTypeDeleteForm
Builds the form to delete Flipping Book type entities.

Namespace

Drupal\flipping_book\Form

Code

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