You are here

public function AnimateDeleteForm::getCancelText in Animate Any 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/AnimateDeleteForm.php, line 36

Class

AnimateDeleteForm
Defines a confirmation form for deleting Animation data from Animation list.

Namespace

Drupal\animate_any\Form

Code

public function getCancelText() {
  return $this
    ->t('Cancel');
}