You are here

public function Updater::__construct in Drupal 7

File

includes/updater.inc, line 77
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

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