You are here

public function WebformConfigEntityDeleteFormBase::delete in Webform 8.5

Same name and namespace in other branches
  1. 6.x src/Form/WebformConfigEntityDeleteFormBase.php \Drupal\webform\Form\WebformConfigEntityDeleteFormBase::delete()

The delete() method is not used in EntityConfirmFormBase. This overrides the default implementation that redirects to the delete-form confirmation form.

Confirmation forms should override submitForm() instead for their logic.

File

src/Form/WebformConfigEntityDeleteFormBase.php, line 197

Class

WebformConfigEntityDeleteFormBase
Provides a generic base class for a webform entity deletion form.

Namespace

Drupal\webform\Form

Code

public function delete(array $form, FormStateInterface $form_state) {
}