Updater::makeWorldReadable

public Updater::makeWorldReadable(&$filetransfer, $path, $recursive = TRUE) Ensures that a given directory is world readable. Parameters \Drupal\Core\FileTransfer\FileTransfer $filetransfer: Object which is a child of FileTransfer. string $path: The file path to make world readable. bool $recursive: If the chmod should be applied recursively. File core/lib/Drupal/Core/Updater/Updater.php, line 349 Class Updater Defines the base class for Updaters used in Drupal. Namespace Drupal\Co

Updater::postInstall

public Updater::postInstall() Performs actions after installation. File core/lib/Drupal/Core/Updater/Updater.php, line 388 Class Updater Defines the base class for Updaters used in Drupal. Namespace Drupal\Core\Updater Code public function postInstall() { }

Updater::postInstallTasks

public Updater::postInstallTasks() Returns an array of links to pages that should be visited post operation. Return value array Links which provide actions to take after the install is finished. File core/lib/Drupal/Core/Updater/Updater.php, line 397 Class Updater Defines the base class for Updaters used in Drupal. Namespace Drupal\Core\Updater Code public function postInstallTasks() { return array(); }

Updater::makeBackup

public Updater::makeBackup(FileTransfer $filetransfer, $from, $to) Performs a backup. @todo Not implemented: https://www.drupal.org/node/2474355 Parameters \Drupal\Core\FileTransfer\FileTransfer $filetransfer: Object which is a child of FileTransfer. string $from: The file path to copy from. string $to: The file path to copy to. File core/lib/Drupal/Core/Updater/Updater.php, line 369 Class Updater Defines the base class for Updaters used in Drupal. Namespace Drupal\Core\Updater Code p

Updater::install

public Updater::install(&$filetransfer, $overrides = array()) Installs a Drupal project, returns a list of next actions. Parameters \Drupal\Core\FileTransfer\FileTransfer $filetransfer: Object that is a child of FileTransfer. array $overrides: An array of settings to override defaults; see self::getInstallArgs(). Return value array An array of links which the user may need to complete the install. Throws \Drupal\Core\Updater\UpdaterFileTransferException File core/lib/Drupal/Core/Updater/

Updater::getUpdaterFromDirectory

public static Updater::getUpdaterFromDirectory($directory) Determines which Updater class can operate on the given directory. Parameters string $directory: Extracted Drupal project. Return value string The class name which can work with this project type. Throws \Drupal\Core\Updater\UpdaterException File core/lib/Drupal/Core/Updater/Updater.php, line 84 Class Updater Defines the base class for Updaters used in Drupal. Namespace Drupal\Core\Updater Code public static function getUpda

Updater::getProjectName

public static Updater::getProjectName($directory) Gets the name of the project directory (basename). @todo It would be nice, if projects contained an info file which could provide their canonical name. Parameters string $directory: Return value string The name of the project. File core/lib/Drupal/Core/Updater/Updater.php, line 158 Class Updater Defines the base class for Updaters used in Drupal. Namespace Drupal\Core\Updater Code public static function getProjectName($directory) {

Updater::getExtensionInfo

protected static Updater::getExtensionInfo($directory) Get Extension information from directory. Parameters string $directory: Directory to search in. Return value array Extension info. Throws \Drupal\Core\Updater\UpdaterException If the info parser does not provide any info. File core/lib/Drupal/Core/Updater/Updater.php, line 137 Class Updater Defines the base class for Updaters used in Drupal. Namespace Drupal\Core\Updater Code protected static function getExtensionInfo($directory

Updater::getProjectTitle

public static Updater::getProjectTitle($directory) Returns the project name from a Drupal info file. Parameters string $directory: Directory to search for the info file. Return value string The title of the project. Throws \Drupal\Core\Updater\UpdaterException File core/lib/Drupal/Core/Updater/Updater.php, line 173 Class Updater Defines the base class for Updaters used in Drupal. Namespace Drupal\Core\Updater Code public static function getProjectTitle($directory) { $info_file = s

Updater::getInstallArgs

protected Updater::getInstallArgs($overrides = array()) 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. File core/lib/Drupal/Core/Updater/Updater.php, line 191 Class Updater Defines the base class for Updaters used in Drupal. Namespace Drupal\Core\Updater Code protected function getInstallArgs($overrides = array()) {