Search for sitePath

  1. Search 7.x for sitePath
  2. Search 9.5.x for sitePath
  3. Search 8.9.x for sitePath
  4. Search 10.3.x for sitePath
  5. Other projects
Title Object type File name Summary
BootableCommandTrait::getSitePath function core/lib/Drupal/Core/Command/BootableCommandTrait.php Gets the site path.
DrupalKernel::$sitePath property core/lib/Drupal/Core/DrupalKernel.php The site path directory.
DrupalKernel::findSitePath function core/lib/Drupal/Core/DrupalKernel.php Returns the appropriate site directory for a request.
DrupalKernel::getSitePath function core/lib/Drupal/Core/DrupalKernel.php Gets the site path directory.
DrupalKernel::setSitePath function core/lib/Drupal/Core/DrupalKernel.php Set the current site path directory.
DrupalKernelInterface::getSitePath function core/lib/Drupal/Core/DrupalKernelInterface.php Gets the site path directory.
DrupalKernelInterface::setSitePath function core/lib/Drupal/Core/DrupalKernelInterface.php Set the current site path directory.
DrupalKernelTest::testFindSitePath function core/tests/Drupal/Tests/Core/DrupalKernel/DrupalKernelTest.php Tests site path finding.
DrupalKernelTest::testPreventChangeOfSitePath function core/tests/Drupal/KernelTests/Core/DrupalKernel/DrupalKernelTest.php Tests setting of site path after kernel boot.
ExtensionDiscovery::$sitePath property core/lib/Drupal/Core/Extension/ExtensionDiscovery.php The site path.
HoldTestSubscriber::$sitePath property core/modules/system/tests/modules/hold_test/src/EventSubscriber/HoldTestSubscriber.php The site path.
InstallCommand::getSitePath function core/lib/Drupal/Core/Command/InstallCommand.php Gets the site path.
LibrariesDirectoryFileFinder::$sitePath property core/lib/Drupal/Core/Asset/LibrariesDirectoryFileFinder.php The site path.
ServerCommand::getSitePath function core/lib/Drupal/Core/Command/ServerCommand.php Gets the site path.
TestDatabase::getTestSitePath function core/lib/Drupal/Core/Test/TestDatabase.php Gets the relative path to the test site directory.
TestSiteConfigurationExcluder::$sitePath property core/modules/package_manager/tests/src/Kernel/PathExcluder/SiteConfigurationExcluderTest.php
UpdateManagerInstall::$sitePath property core/modules/update/src/Form/UpdateManagerInstall.php The site path.
UpdateReady::$sitePath property core/modules/update/src/Form/UpdateReady.php The Site path.

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