You are here

public function Mp3playerDeleteForm::getCancelText in MP3 Player 8

Returns a caption for the link which cancels the action.

Return value

\Drupal\Core\StringTranslation\TranslatableMarkup The form cancellation text.

Overrides ConfirmFormBase::getCancelText

File

src/Form/Mp3playerDeleteForm.php, line 58
Contains \Drupal\mp3player\Form\ExampleForm.

Class

Mp3playerDeleteForm
Implements Mp3playerDeleteForm.

Namespace

Drupal\mp3player\Form

Code

public function getCancelText() {
  return t('Cancel');
}