You are here

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

Class

JavascriptCoreLibrariesDeleteForm

Namespace

Drupal\javascript_libraries\Form

Code

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