public function UpdaterInterface::getInstallDirectory in Drupal 9
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Updater/UpdaterInterface.php \Drupal\Core\Updater\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();