1.20.x updater.inc public Updater::__construct($source)

File

includes/updater.inc, line 76
Classes used for updating various files in the Backdrop 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…

Class

Updater
Base class for Updaters used in Backdrop.

Code

public function __construct($source) {
  $this->source = $source;
  $this->name = self::getProjectName($source);
  $this->title = self::getProjectTitle($source);
}