Error message

Warning: count(): Parameter must be an array or an object that implements Countable in _api_make_match_member_link() (line 1230 of /home/projects/api/www/sites/all/modules/api/api.formatting.inc).

public function ContinuousJobForm::save

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');
}