Search for root

  1. Search 7.x for root
  2. Search 9.5.x for root
  3. Search 10.3.x for root
  4. Search 11.x for root
  5. Other projects
Title Object type File name Summary
ResourceResponseValidator::$appRoot property core/modules/jsonapi/src/EventSubscriber/ResourceResponseValidator.php The application's root file path.
router.path_roots_subscriber service core/core.services.yml Drupal\Core\EventSubscriber\PathRootsSubscriber
RssResponseRelativeUrlFilter::transformRootRelativeUrlsToAbsolute function core/lib/Drupal/Core/EventSubscriber/RssResponseRelativeUrlFilter.php Converts all root-relative URLs to absolute URLs in RSS markup.
ScaffoldTest::$projectRoot property core/tests/Drupal/Tests/Composer/Plugin/Scaffold/Functional/ScaffoldTest.php The root of this project.
ScaffoldTestResult::$docroot property core/tests/Drupal/Tests/Composer/Plugin/Scaffold/ScaffoldTestResult.php
ScaffoldTestResult::docroot function core/tests/Drupal/Tests/Composer/Plugin/Scaffold/ScaffoldTestResult.php Returns the location of the docroot from the scaffold test.
SimpletestPhpunitRunCommandTest::$root property core/modules/simpletest/tests/src/Unit/SimpletestPhpunitRunCommandTest.php Path to the app root.
SiteConfigureForm::$root property core/lib/Drupal/Core/Installer/Form/SiteConfigureForm.php The app root.
TableDragTest::testRootLeafDraggableRowsWithKeyboard function core/tests/Drupal/FunctionalJavascriptTests/TableDrag/TableDragTest.php Tests the root and leaf behaviors for rows.
TestDiscovery::$root property core/lib/Drupal/Core/Test/TestDiscovery.php The app root.
TestRequirementsTrait::getDrupalRoot function core/tests/Drupal/Tests/TestRequirementsTrait.php Returns the Drupal root directory.
Theme::getRootDirectoryRelativePath function core/lib/Drupal/Core/Updater/Theme.php Returns the name of the root directory under which projects will be copied.
ThemeHandler::$root property core/lib/Drupal/Core/Extension/ThemeHandler.php The app root.
ThemeInitialization::$root property core/lib/Drupal/Core/Theme/ThemeInitialization.php The app root.
ThemeManager::$root property core/lib/Drupal/Core/Theme/ThemeManager.php The app root.
TypedData::getRoot function core/lib/Drupal/Core/TypedData/TypedData.php Returns the root of the typed data tree.
TypedDataInterface::getRoot function core/lib/Drupal/Core/TypedData/TypedDataInterface.php Returns the root of the typed data tree.
UnitTestCase::$root property core/tests/Drupal/Tests/UnitTestCase.php The app root.
update.root service core/modules/update/update.services.yml SplString
update.root.factory service core/modules/update/update.services.yml Drupal\update\UpdateRootFactory
UpdateManagerInstall::$root property core/modules/update/src/Form/UpdateManagerInstall.php The root location under which installed projects will be saved.
Updater::$root property core/lib/Drupal/Core/Updater/Updater.php The root directory under which new projects will be copied.
UpdateReady::$root property core/modules/update/src/Form/UpdateReady.php The root location under which updated projects will be saved.
UpdateRegistry::$root property core/lib/Drupal/Core/Update/UpdateRegistry.php The app root.
UpdaterInterface::getRootDirectoryRelativePath function core/lib/Drupal/Core/Updater/UpdaterInterface.php Returns the name of the root directory under which projects will be copied.
UpdateRootFactory class core/modules/update/src/UpdateRootFactory.php Gets the root path used by the Update Manager to install or update projects.
UpdateRootFactory.php file core/modules/update/src/UpdateRootFactory.php
UpdateRootFactory::$drupalKernel property core/modules/update/src/UpdateRootFactory.php The Drupal kernel.
UpdateRootFactory::$requestStack property core/modules/update/src/UpdateRootFactory.php The request stack.
UpdateRootFactory::get function core/modules/update/src/UpdateRootFactory.php Gets the root path under which projects are installed or updated.
UpdateRootFactory::__construct function core/modules/update/src/UpdateRootFactory.php Constructs an UpdateRootFactory instance.

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