Search for root

  1. Search 7.x for root
  2. Search 8.9.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
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.
HelpTopicPluginManager::$root property core/modules/help_topics/src/HelpTopicPluginManager.php The app root.
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
InfoParserDynamic::$root property core/lib/Drupal/Core/Extension/InfoParserDynamic.php The root directory of the Drupal installation.
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.
LegacyServiceTest::testAppRoot function core/tests/Drupal/KernelTests/Core/LegacyServiceTest.php Tests the app.root service.
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.
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.
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.
PathRootsSubscriber::getSubscribedEvents function core/lib/Drupal/Core/EventSubscriber/PathRootsSubscriber.php
PathRootsSubscriber::onRouteAlter function core/lib/Drupal/Core/EventSubscriber/PathRootsSubscriber.php Collects all path roots.
PathRootsSubscriber::onRouteFinished function core/lib/Drupal/Core/EventSubscriber/PathRootsSubscriber.php
PathRootsSubscriber::__construct function core/lib/Drupal/Core/EventSubscriber/PathRootsSubscriber.php Constructs a new PathRootsSubscriber instance.
PathRootsSubscriberTest class core/tests/Drupal/Tests/Core/EventSubscriber/PathRootsSubscriberTest.php @coversDefaultClass \Drupal\Core\EventSubscriber\PathRootsSubscriber
@group EventSubscriber
PathRootsSubscriberTest.php file core/tests/Drupal/Tests/Core/EventSubscriber/PathRootsSubscriberTest.php
PathRootsSubscriberTest::$pathRootsSubscriber property core/tests/Drupal/Tests/Core/EventSubscriber/PathRootsSubscriberTest.php The tested path root subscriber.
PathRootsSubscriberTest::$state property core/tests/Drupal/Tests/Core/EventSubscriber/PathRootsSubscriberTest.php The mocked state.
PathRootsSubscriberTest::setUp function core/tests/Drupal/Tests/Core/EventSubscriber/PathRootsSubscriberTest.php
PathRootsSubscriberTest::testSubscribing function core/tests/Drupal/Tests/Core/EventSubscriber/PathRootsSubscriberTest.php Tests altering and finished event.
PhpUnitTestRunner::$appRoot property core/lib/Drupal/Core/Test/PhpUnitTestRunner.php Path to the application root.
QuickStartTest::$root property core/tests/Drupal/Tests/Core/Command/QuickStartTest.php The Drupal root directory.
Registry::$root property core/lib/Drupal/Core/Theme/Registry.php The app root.
RelationshipJoinTestBase::$rootUser property core/modules/views/tests/src/Kernel/Plugin/RelationshipJoinTestBase.php
Renderer::$isRenderingRoot property core/lib/Drupal/Core/Render/Renderer.php Whether we're currently in a ::renderRoot() call.

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