You are here

public function RngContactDeleteForm::getConfirmText in RNG Contact 8

Returns a caption for the button that confirms the action.

Return value

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

Overrides ContentEntityConfirmFormBase::getConfirmText

File

src/Form/RngContactDeleteForm.php, line 30

Class

RngContactDeleteForm
Form for deleting a contact.

Namespace

Drupal\rng_contact\Form

Code

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