You are here

background_process_ass.admin.inc in Background Process 8

Implements Ass Setting Form.

File

background_process_ass/background_process_ass.admin.inc
View source
<?php

/**
 * @file
 * Implements Ass Setting Form.
 */

/**
 * Implements definition for settings page.
 */
function background_process_ass_settings_form() {
  $form = [];
  $form['background_process_ass_max_age'] = [
    '#type' => 'textfield',
    '#title' => t('Max age'),
    '#description' => t('Time in seconds to wait before considering a process dead.'),
    '#default_value' => \Drupal::config('background_process_ass.settings')
      ->get('background_process_ass_max_age'),
  ];
  return system_settings_form($form);
}

Functions

Namesort descending Description
background_process_ass_settings_form Implements definition for settings page.