You are here

public static function UpdaterInterface::getRootDirectoryRelativePath in Drupal 8

Same name and namespace in other branches
  1. 9 core/lib/Drupal/Core/Updater/UpdaterInterface.php \Drupal\Core\Updater\UpdaterInterface::getRootDirectoryRelativePath()

Returns the name of the root directory under which projects will be copied.

Return value

string A relative path to the root directory.

2 methods override UpdaterInterface::getRootDirectoryRelativePath()
Module::getRootDirectoryRelativePath in core/lib/Drupal/Core/Updater/Module.php
Returns the name of the root directory under which projects will be copied.
Theme::getRootDirectoryRelativePath in core/lib/Drupal/Core/Updater/Theme.php
Returns the name of the root directory under which projects will be copied.

File

core/lib/Drupal/Core/Updater/UpdaterInterface.php, line 46

Class

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

Namespace

Drupal\Core\Updater

Code

public static function getRootDirectoryRelativePath();