public function UpdateRunnerForm::buildForm in Scheduled Updates 8
Form constructor.
Parameters
array $form: An associative array containing the structure of the form.
\Drupal\Core\Form\FormStateInterface $form_state: The current state of the form.
Return value
array The form structure.
Overrides FormInterface::buildForm
File
- src/
Form/ UpdateRunnerForm.php, line 52 - Contains \Drupal\scheduled_updates\Form\UpdateRunnerForm.
Class
- UpdateRunnerForm
- Class UpdateRunnerForm.
Namespace
Drupal\scheduled_updates\FormCode
public function buildForm(array $form, FormStateInterface $form_state) {
$form['run'] = [
'#type' => 'submit',
'#value' => $this
->t('Run Updates'),
];
return $form;
}