protected function ContinuousJobForm::actions

Overrides JobForm::actions

File

src/Form/ContinuousJobForm.php, line 104

Class

ContinuousJobForm
Form controller for the job edit forms.

Namespace

Drupal\tmgmt\Form

Code

protected function actions(array $form, FormStateInterface $form_state) {
  $actions['save'] = array(
    '#type' => 'submit',
    '#value' => t('Save job'),
    '#submit' => array(
      '::submitForm',
      '::save',
    ),
    '#weight' => 5,
    '#button_type' => 'primary',
  );
  return $actions;
}