public static function JobForm::create

Overrides TmgmtFormBase::create

File

src/Form/JobForm.php, line 53

Class

JobForm
Form controller for the job edit forms.

Namespace

Drupal\tmgmt\Form

Code

public static function create(ContainerInterface $container) {
  $form = parent::create($container);
  $form->jobQueue = $container
    ->get('tmgmt.queue');
  $form->jobCheckoutManager = $container
    ->get('tmgmt.job_checkout_manager');
  return $form;
}