You are here

public function JavascriptLibrariesDeleteForm::getCancelText in JavaScript Libraries Manager 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/JavascriptLibrariesDeleteForm.php, line 55
Contains \Drupal\javascript_libraries\Form\JavascriptLibrariesDeleteForm.

Class

JavascriptLibrariesDeleteForm

Namespace

Drupal\javascript_libraries\Form

Code

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