You are here

public function AvatarGeneratorDeleteForm::getConfirmText in Avatar Kit 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/AvatarGeneratorDeleteForm.php, line 26

Class

AvatarGeneratorDeleteForm
Form controller to delete an avatar generator instance.

Namespace

Drupal\avatars\Form

Code

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