Search for sitePath

  1. Search 7.x for sitePath
  2. Search 9.5.x for sitePath
  3. Search 10.3.x for sitePath
  4. Search 11.x for sitePath
  5. Other projects
Title Object type File name Summary
DrupalKernel::$sitePath property core/lib/Drupal/Core/DrupalKernel.php The site 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 Get the site path.
DrupalKernel::setSitePath function core/lib/Drupal/Core/DrupalKernel.php Set the current site path.
DrupalKernelInterface::getSitePath function core/lib/Drupal/Core/DrupalKernelInterface.php Get the site path.
DrupalKernelInterface::setSitePath function core/lib/Drupal/Core/DrupalKernelInterface.php Set the current site path.
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.
SiteConfigureForm::$sitePath property core/lib/Drupal/Core/Installer/Form/SiteConfigureForm.php The site path.
SitePathFactory class core/lib/Drupal/Core/SitePathFactory.php Gets the site path from the kernel.
SitePathFactory.php file core/lib/Drupal/Core/SitePathFactory.php
SitePathFactory::$drupalKernel property core/lib/Drupal/Core/SitePathFactory.php The Drupal kernel.
SitePathFactory::get function core/lib/Drupal/Core/SitePathFactory.php Gets the site path.
SitePathFactory::__construct function core/lib/Drupal/Core/SitePathFactory.php Constructs an SitePathFactory instance.
SiteSettingsForm::$sitePath property core/lib/Drupal/Core/Installer/Form/SiteSettingsForm.php The site path.
TestDatabase::getTestSitePath function core/lib/Drupal/Core/Test/TestDatabase.php Gets the relative path to the test site directory.
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.
UpdateRegistry::$sitePath property core/lib/Drupal/Core/Update/UpdateRegistry.php The site path.

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