public Tasks::getFormOptions(array $database)
Return driver specific configuration options.
Parameters
$database: An array of driver specific configuration options.
Return value
The options form array.
Overrides Tasks::getFormOptions
File
- core/lib/Drupal/Core/Database/Driver/pgsql/Install/Tasks.php, line 282
Class
- Tasks
- Specifies installation tasks for PostgreSQL databases.
Namespace
Drupal\Core\Database\Driver\pgsql\Install
Code
public function getFormOptions(array $database) { $form = parent::getFormOptions($database); if (empty($form['advanced_options']['port']['#default_value'])) { $form['advanced_options']['port']['#default_value'] = '5432'; } return $form; }
Please login to continue.