protected function 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 drupal/core/lib/Drupal/Core/Updater/Updater.php
Installs a Drupal project, returns a list of next actions.
Updater::update in drupal/core/lib/Drupal/Core/Updater/Updater.php
Updates a Drupal project and returns a list of next actions.

File

drupal/core/lib/Drupal/Core/Updater/Updater.php, line 159
Definition of Drupal\Core\Updater\Updater.

Class

Updater
Defines the base class for Updaters used in Drupal.

Namespace

Drupal\Core\Updater

Code

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