You are here

public function RuleDeleteForm::getConfirmText in JS injector 8

Returns a caption for the button that confirms the action.

Return value

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

Overrides EntityConfirmFormBase::getConfirmText

File

lib/Drupal/js_injector/Form/RuleDeleteForm.php, line 39
Contains \Drupal\js_injector\Form\RuleDeleteForm.

Class

RuleDeleteForm
Provides a deletion confirmation form for js_injector rule entity.

Namespace

Drupal\js_injector\Form

Code

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