Same name in other branches
  1. 8.x-3.x src/Form/QuickTabsInstanceDeleteForm.php \Drupal\quicktabs\Form\QuickTabsInstanceDeleteForm::submitForm()

Fichier

src/Form/QuickTabsInstanceDeleteForm.php, line 39

Classe

QuickTabsInstanceDeleteForm
Class QuickTabsInstanceDeleteForm.

Namespace

Drupal\quicktabs\Form

Code

public function submitForm(array &$form, FormStateInterface $form_state) {
    $this->entity
        ->delete();
    $form_state->setRedirectUrl($this->getCancelUrl());
}