public function DrupalKernelInterface::setSitePath
public DrupalKernelInterface::setSitePath($path)
Set the current site path.
Parameters
string $path: The current site path.
Throws
\LogicException In case the kernel is already booted.
File
- core/lib/Drupal/Core/DrupalKernelInterface.php, line 75
Class
- DrupalKernelInterface
- The interface for DrupalKernel, the core of Drupal.
Namespace
Drupal\CoreCode
public function setSitePath($path);
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!DrupalKernelInterface.php/function/DrupalKernelInterface::setSitePath/8.1.x