You are here

public function Mp3playerDeleteForm::getConfirmText in MP3 Player 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/Mp3playerDeleteForm.php, line 51
Contains \Drupal\mp3player\Form\ExampleForm.

Class

Mp3playerDeleteForm
Implements Mp3playerDeleteForm.

Namespace

Drupal\mp3player\Form

Code

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