function UpdaterInterface::getInstallDirectory
Returns the path to the default install location for the current project.
Return value
string An absolute path to the default install location.
2 methods override UpdaterInterface::getInstallDirectory()
- Module::getInstallDirectory in core/
lib/ Drupal/ Core/ Updater/ Module.php - Returns the directory where a module should be installed.
- Theme::getInstallDirectory in core/
lib/ Drupal/ Core/ Updater/ Theme.php - Returns the directory where a theme should be installed.
File
-
core/
lib/ Drupal/ Core/ Updater/ UpdaterInterface.php, line 38
Class
- UpdaterInterface
- Defines an interface for a class which can update a Drupal project.
Namespace
Drupal\Core\UpdaterCode
public function getInstallDirectory();
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.