You are here

public function TranslatorForm::delete in Translation Management Tool 8

File

src/Form/TranslatorForm.php, line 259

Class

TranslatorForm
Form controller for the translator edit forms.

Namespace

Drupal\tmgmt\Form

Code

public function delete(array $form, FormStateInterface $form_state) {
  $form_state
    ->setRedirectUrl($this->entity
    ->toUrl('delete-form'));
}