1 updater.inc protected Updater::getInstallArgs($overrides = array())

Store the default parameters for the Updater.

Parameters

array $overrides: An array of overrides for the default parameters.

Return value

array: An array of configuration parameters for an update or install operation.

File

core/includes/updater.inc, line 254
Classes used for updating various files in the Backdrop webroot. These classes use a FileTransfer object to actually perform the operations. Normally, the FileTransfer is provided when the site owner is redirected to authorize.php as part of a…

Class

Updater
Base class for Updaters used in Backdrop.

Code

protected function getInstallArgs($overrides = array()) {
  $args = array(
    'make_backup' => FALSE,
    'install_dir' => $this->getInstallDirectory(),
    'backup_dir' => $this->getBackupDir(),
  );
  return array_merge($args, $overrides);
}