You are here

public function ContinuousJobForm::save in Translation Management Tool 8

Overrides Drupal\Core\Entity\EntityForm::save().

Overrides JobForm::save

File

src/Form/ContinuousJobForm.php, line 118

Class

ContinuousJobForm
Form controller for the job edit forms.

Namespace

Drupal\tmgmt\Form

Code

public function save(array $form, FormStateInterface $form_state) {
  parent::save($form, $form_state);

  // Per default we want to redirect the user to the overview.
  $form_state
    ->setRedirect('view.tmgmt_job_overview.page_1');
}