function UpdaterInterface::getRootDirectoryRelativePath

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

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();

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