public function LingotekProfileDeleteForm::delete in Lingotek Translation 8
Same name and namespace in other branches
- 8.2 src/Form/LingotekProfileDeleteForm.php \Drupal\lingotek\Form\LingotekProfileDeleteForm::delete()
- 4.0.x src/Form/LingotekProfileDeleteForm.php \Drupal\lingotek\Form\LingotekProfileDeleteForm::delete()
- 3.0.x src/Form/LingotekProfileDeleteForm.php \Drupal\lingotek\Form\LingotekProfileDeleteForm::delete()
- 3.1.x src/Form/LingotekProfileDeleteForm.php \Drupal\lingotek\Form\LingotekProfileDeleteForm::delete()
- 3.2.x src/Form/LingotekProfileDeleteForm.php \Drupal\lingotek\Form\LingotekProfileDeleteForm::delete()
- 3.3.x src/Form/LingotekProfileDeleteForm.php \Drupal\lingotek\Form\LingotekProfileDeleteForm::delete()
- 3.4.x src/Form/LingotekProfileDeleteForm.php \Drupal\lingotek\Form\LingotekProfileDeleteForm::delete()
- 3.5.x src/Form/LingotekProfileDeleteForm.php \Drupal\lingotek\Form\LingotekProfileDeleteForm::delete()
- 3.6.x src/Form/LingotekProfileDeleteForm.php \Drupal\lingotek\Form\LingotekProfileDeleteForm::delete()
- 3.7.x src/Form/LingotekProfileDeleteForm.php \Drupal\lingotek\Form\LingotekProfileDeleteForm::delete()
- 3.8.x src/Form/LingotekProfileDeleteForm.php \Drupal\lingotek\Form\LingotekProfileDeleteForm::delete()
@inheritDoc
Overrides EntityConfirmFormBase::delete
File
- src/
Form/ LingotekProfileDeleteForm.php, line 57 - Contains \Drupal\lingotek\Form\LingotekProfileDeleteForm.
Class
- LingotekProfileDeleteForm
- Provides a form for lingotek profiles deletion.
Namespace
Drupal\lingotek\FormCode
public function delete(array $form, FormStateInterface $form_state) {
parent::delete($form, $form_state);
$form_state
->setRedirect('lingotek.settings');
}