You are here

public function JobForm::delete in Translation Management Tool 8

File

src/Form/JobForm.php, line 738

Class

JobForm
Form controller for the job edit forms.

Namespace

Drupal\tmgmt\Form

Code

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