function ContactDeleteForm::getConfirmText

Same name in other branches
  1. 3.x modules/content_entity_example/src/Form/ContactDeleteForm.php \Drupal\content_entity_example\Form\ContactDeleteForm::getConfirmText()

Overrides ContentEntityConfirmFormBase::getConfirmText

File

modules/content_entity_example/src/Form/ContactDeleteForm.php, line 35

Class

ContactDeleteForm
Provides a form for deleting a content_entity_example entity.

Namespace

Drupal\content_entity_example\Form

Code

public function getConfirmText() {
    return $this->t('Delete');
}