You are here

public function DrupalUpdaterInterface::getInstallDirectory in Drupal 7

Return value

string An absolute path to the default install location.

2 methods override DrupalUpdaterInterface::getInstallDirectory()
ModuleUpdater::getInstallDirectory in modules/system/system.updater.inc
Return the directory where a module should be installed.
ThemeUpdater::getInstallDirectory in modules/system/system.updater.inc
Return the directory where a theme should be installed.

File

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

DrupalUpdaterInterface
Interface for a class which can update a Drupal project.

Code

public function getInstallDirectory();