function Updater::getInstallDirectory

Same name in other branches
  1. 10 core/lib/Drupal/Core/Updater/Updater.php \Drupal\Core\Updater\Updater::getInstallDirectory()

Returns the path to the default install location for the current project.

Return value

string The absolute path of the directory.

1 call to Updater::getInstallDirectory()
Updater::getInstallArgs in core/lib/Drupal/Core/Updater/Updater.php
Stores the default parameters for the Updater.
2 methods override Updater::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/Updater.php, line 203

Class

Updater
Defines the base class for Updaters used in Drupal.

Namespace

Drupal\Core\Updater

Code

public abstract function getInstallDirectory();

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