function UpdaterInterface::getInstallDirectory

Same name in other branches
  1. 8.9.x core/lib/Drupal/Core/Updater/UpdaterInterface.php \Drupal\Core\Updater\UpdaterInterface::getInstallDirectory()
  2. 10 core/lib/Drupal/Core/Updater/UpdaterInterface.php \Drupal\Core\Updater\UpdaterInterface::getInstallDirectory()
  3. 11.x 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\Updater

Code

public function getInstallDirectory();

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.