You are here

public function JobForm::submitBuildJob in Translation Management Tool 8

Handles submit call to rebuild a job.

File

src/Form/JobForm.php, line 866

Class

JobForm
Form controller for the job edit forms.

Namespace

Drupal\tmgmt\Form

Code

public function submitBuildJob(array $form, FormStateInterface $form_state) {
  $this->entity = $this
    ->buildEntity($form, $form_state);
  $form_state
    ->setRebuild();
}