On this page
protected function Updater::getInstallArgs
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
- 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);
}
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/includes!updater.inc/function/Updater::getInstallArgs/7.x