function DrupalKernelInterface::getSitePath
Same name in other branches
- 9 core/lib/Drupal/Core/DrupalKernelInterface.php \Drupal\Core\DrupalKernelInterface::getSitePath()
- 8.9.x core/lib/Drupal/Core/DrupalKernelInterface.php \Drupal\Core\DrupalKernelInterface::getSitePath()
- 11.x core/lib/Drupal/Core/DrupalKernelInterface.php \Drupal\Core\DrupalKernelInterface::getSitePath()
Gets the site path directory.
Return value
string The current site path directory.
1 method overrides DrupalKernelInterface::getSitePath()
- DrupalKernel::getSitePath in core/
lib/ Drupal/ Core/ DrupalKernel.php - Gets the site path directory.
File
-
core/
lib/ Drupal/ Core/ DrupalKernelInterface.php, line 96
Class
- DrupalKernelInterface
- The interface for DrupalKernel, the core of Drupal.
Namespace
Drupal\CoreCode
public function getSitePath();
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.