function Updater::__construct
Same name in other branches
- 9 core/lib/Drupal/Core/Updater/Updater.php \Drupal\Core\Updater\Updater::__construct()
- 8.9.x core/lib/Drupal/Core/Updater/Updater.php \Drupal\Core\Updater\Updater::__construct()
- 10 core/lib/Drupal/Core/Updater/Updater.php \Drupal\Core\Updater\Updater::__construct()
- 11.x core/lib/Drupal/Core/Updater/Updater.php \Drupal\Core\Updater\Updater::__construct()
File
-
includes/
updater.inc, line 87
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);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.