function Updater::getInstallArgs
Same name in other branches
- 7.x includes/updater.inc \Updater::getInstallArgs()
- 8.9.x core/lib/Drupal/Core/Updater/Updater.php \Drupal\Core\Updater\Updater::getInstallArgs()
- 10 core/lib/Drupal/Core/Updater/Updater.php \Drupal\Core\Updater\Updater::getInstallArgs()
- 11.x core/lib/Drupal/Core/Updater/Updater.php \Drupal\Core\Updater\Updater::getInstallArgs()
Stores 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 core/
lib/ Drupal/ Core/ Updater/ Updater.php - Installs a Drupal project, returns a list of next actions.
- Updater::update in core/
lib/ Drupal/ Core/ Updater/ Updater.php - Updates a Drupal project and returns a list of next actions.
File
-
core/
lib/ Drupal/ Core/ Updater/ Updater.php, line 206
Class
- Updater
- Defines the base class for Updaters used in Drupal.
Namespace
Drupal\Core\UpdaterCode
protected function getInstallArgs($overrides = []) {
$args = [
'make_backup' => FALSE,
'install_dir' => $this->getInstallDirectory(),
'backup_dir' => $this->getBackupDir(),
];
return array_merge($args, $overrides);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.