Skip to content
Snippets Groups Projects
Commit d747ec82 authored by Steven Wittens's avatar Steven Wittens
Browse files

- _ to # (form api changes)

parent e4f597b0
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
...@@ -55,15 +55,15 @@ function update_selection_page() { ...@@ -55,15 +55,15 @@ function update_selection_page() {
// make update form and output it. // make update form and output it.
$form['start'] = array( $form['start'] = array(
type => 'select', '#type' => 'select',
title => t('Perform updates from'), '#title' => t('Perform updates from'),
default_value => (isset($selected) ? $selected : -1), '#default_value' => (isset($selected) ? $selected : -1),
options => $dates, '#options' => $dates,
description => t('This defaults to the first available update since the last update you performed.') '#description' => t('This defaults to the first available update since the last update you performed.')
); );
$form['submit'] = array( $form['submit'] = array(
type => 'submit', '#type' => 'submit',
value => t('Update') '#value' => t('Update')
); );
drupal_set_title('Drupal database update'); drupal_set_title('Drupal database update');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment