public function UpdaterInterface::getInstallDirectory

Returns the path to the default install location.

Return value

string An absolute path to the default install location.

2 methods override UpdaterInterface::getInstallDirectory()
Module::getInstallDirectory in drupal/core/lib/Drupal/Core/Updater/Module.php
Returns the directory where a module should be installed.
Theme::getInstallDirectory in drupal/core/lib/Drupal/Core/Updater/Theme.php
Returns the directory where a theme should be installed.

File

drupal/core/lib/Drupal/Core/Updater/UpdaterInterface.php, line 43
Definition of Drupal\Core\Updater\UpdaterInterface.

Class

UpdaterInterface
Defines an interface for a class which can update a Drupal project.

Namespace

Drupal\Core\Updater

Code

public function getInstallDirectory();