Search for root

  1. Search 7.x for root
  2. Search 9.5.x for root
  3. Search 8.9.x for root
  4. Search 10.3.x for root
  5. Other projects
Title Object type File name Summary
FileTransfer::findChroot function core/lib/Drupal/Core/FileTransfer/FileTransfer.php Returns the chroot property for this connection.
FileTransfer::setChroot function core/lib/Drupal/Core/FileTransfer/FileTransfer.php Sets the chroot and changes the jail to match the correct path scheme.
FileTransferAuthorizeForm::$root property core/lib/Drupal/Core/FileTransfer/Form/FileTransferAuthorizeForm.php The app root.
Filter::$root property core/modules/jsonapi/src/Query/Filter.php The root condition group.
Filter::root function core/modules/jsonapi/src/Query/Filter.php Gets the root condition group.
Filter::ROOT_ID constant core/modules/jsonapi/src/Query/Filter.php The key for the implicit root group.
Fixtures::projectRoot function core/tests/Drupal/Tests/Composer/Plugin/Scaffold/Fixtures.php Gets the path to Scaffold component.
FormCache::$root property core/lib/Drupal/Core/Form/FormCache.php The app root.
ForumTest::$rootForum property core/modules/forum/tests/src/Functional/ForumTest.php An array representing a root forum.
FunctionalTestSetupTrait::$rootUser property core/lib/Drupal/Core/Test/FunctionalTestSetupTrait.php The "#1" admin user.
GenerateTheme::$root property core/lib/Drupal/Core/Command/GenerateTheme.php The path for the Drupal root.
Handler::rootPackageName function composer/Plugin/Scaffold/Handler.php Gets the root package name.
Html::transformRootRelativeUrlsToAbsolute function core/lib/Drupal/Component/Utility/Html.php Converts all root-relative URLs to absolute URLs.
HtmlTest::providerTestTransformRootRelativeUrlsToAbsolute function core/tests/Drupal/Tests/Component/Utility/HtmlTest.php Provides test data for testTransformRootRelativeUrlsToAbsolute().
HtmlTest::providerTestTransformRootRelativeUrlsToAbsoluteAssertion function core/tests/Drupal/Tests/Component/Utility/HtmlTest.php Provides test data for testTransformRootRelativeUrlsToAbsoluteAssertion().
HtmlTest::testTransformRootRelativeUrlsToAbsolute function core/tests/Drupal/Tests/Component/Utility/HtmlTest.php @covers ::transformRootRelativeUrlsToAbsolute
@dataProvider providerTestTransformRootRelativeUrlsToAbsolute
HtmlTest::testTransformRootRelativeUrlsToAbsoluteAssertion function core/tests/Drupal/Tests/Component/Utility/HtmlTest.php @covers ::transformRootRelativeUrlsToAbsolute
@dataProvider providerTestTransformRootRelativeUrlsToAbsoluteAssertion
InternalViolation::getRoot function core/lib/Drupal/Core/Field/InternalViolation.php
KernelTestBase::$root property core/tests/Drupal/KernelTests/KernelTestBase.php The app root.
KernelTestBase::$vfsRoot property core/tests/Drupal/KernelTests/KernelTestBase.php The virtual filesystem root directory.
LibrariesDirectoryFileFinder::$root property core/lib/Drupal/Core/Asset/LibrariesDirectoryFileFinder.php The app root.
LibraryDiscoveryParser::$root property core/lib/Drupal/Core/Asset/LibraryDiscoveryParser.php The app root.
LinkRelationTypeManager::$root property core/lib/Drupal/Core/Http/LinkRelationTypeManager.php The app root.
ManageGitIgnoreTest::$projectRoot property core/tests/Drupal/Tests/Composer/Plugin/Scaffold/Functional/ManageGitIgnoreTest.php The root of this project.
MenuLinkDefaultIntegrationTest::testMoveToRoot function core/tests/Drupal/KernelTests/Core/Menu/MenuLinkDefaultIntegrationTest.php Tests moving a static menu link without a specified menu to the root.
MenuTreeParameters::$root property core/lib/Drupal/Core/Menu/MenuTreeParameters.php A menu link plugin ID that should be used as the root.
MenuTreeParameters::excludeRoot function core/lib/Drupal/Core/Menu/MenuTreeParameters.php Excludes the root menu link from the tree.
MenuTreeParameters::setRoot function core/lib/Drupal/Core/Menu/MenuTreeParameters.php Sets a root for menu tree loading.
MenuTreeParametersTest::testExcludeRoot function core/tests/Drupal/Tests/Core/Menu/MenuTreeParametersTest.php Tests excludeRoot().
MenuTreeStorage::getRootPathIds function core/lib/Drupal/Core/Menu/MenuTreeStorage.php Returns all the IDs that represent the path to the root of the tree.
MenuTreeStorageInterface::getRootPathIds function core/lib/Drupal/Core/Menu/MenuTreeStorageInterface.php Returns all the IDs that represent the path to the root of the tree.
Message::$rootPackage property composer/Plugin/ProjectMessage/Message.php The root package.
MockPathLocator::getProjectRoot function core/modules/package_manager/tests/modules/package_manager_bypass/src/MockPathLocator.php
MockPathLocator::getStagingRoot function core/modules/package_manager/tests/modules/package_manager_bypass/src/MockPathLocator.php
MockPathLocator::getWebRoot function core/modules/package_manager/tests/modules/package_manager_bypass/src/MockPathLocator.php
Module::getRootDirectoryRelativePath function core/lib/Drupal/Core/Updater/Module.php Returns the name of the root directory under which projects will be copied.
ModuleHandler::$root property core/lib/Drupal/Core/Extension/ModuleHandler.php The app root.
ModuleInstaller::$root property core/lib/Drupal/Core/Extension/ModuleInstaller.php The app root.
PackageManagerFixtureCreator::CORE_ROOT_PATH constant core/scripts/PackageManagerFixtureCreator.php
PackageManagerKernelTestBase::$testProjectRoot property core/modules/package_manager/tests/src/Kernel/PackageManagerKernelTestBase.php The test root directory, if any, created by ::createTestProject().
PathLocator::getProjectRoot function core/modules/package_manager/src/PathLocator.php Returns the absolute path of the project root.
PathLocator::getStagingRoot function core/modules/package_manager/src/PathLocator.php Returns the directory where stage directories will be created.
PathLocator::getWebRoot function core/modules/package_manager/src/PathLocator.php Returns the path of the Drupal installation, relative to the project root.
PathLocatorTest::providerWebRoot function core/modules/package_manager/tests/src/Unit/PathLocatorTest.php Data provider for ::testWebRoot().
PathLocatorTest::testStagingRoot function core/modules/package_manager/tests/src/Unit/PathLocatorTest.php @covers ::getStagingRoot
PathLocatorTest::testWebRoot function core/modules/package_manager/tests/src/Unit/PathLocatorTest.php Tests that the web root is computed correctly.
PathRootsSubscriber class core/lib/Drupal/Core/EventSubscriber/PathRootsSubscriber.php Provides all available first bits of all route paths.
PathRootsSubscriber.php file core/lib/Drupal/Core/EventSubscriber/PathRootsSubscriber.php
PathRootsSubscriber::$pathRoots property core/lib/Drupal/Core/EventSubscriber/PathRootsSubscriber.php Stores the path roots available in the router.
PathRootsSubscriber::$state property core/lib/Drupal/Core/EventSubscriber/PathRootsSubscriber.php The state key value store.

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