protected function Updater::getInstallArgs in Drupal 7
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.
2 calls to Updater::getInstallArgs()
- Updater::install in includes/
updater.inc - Installs a Drupal project, returns a list of next actions.
- Updater::update in includes/
updater.inc - Updates a Drupal project, returns a list of next actions.
File
- includes/
updater.inc, line 199 - Classes used for updating various files in the Drupal 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 multistep…
Class
- Updater
- Base class for Updaters used in Drupal.
Code
protected function getInstallArgs($overrides = array()) {
$args = array(
'make_backup' => FALSE,
'install_dir' => $this
->getInstallDirectory(),
'backup_dir' => $this
->getBackupDir(),
);
return array_merge($args, $overrides);
}