protected function Updater::getInstallArgs
7.x 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.
2 calls to Updater::getInstallArgs()
- Updater::install in drupal-7.x/
includes/ updater.inc - Installs a Drupal project, returns a list of next actions.
- Updater::update in drupal-7.x/
includes/ updater.inc - Updates a Drupal project, returns a list of next actions.
File
- drupal-7.x/
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);
}