You are here

public function DrupalKernelInterface::setSitePath in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/lib/Drupal/Core/DrupalKernelInterface.php \Drupal\Core\DrupalKernelInterface::setSitePath()

Set the current site path.

Parameters

string $path: The current site path.

Throws

\LogicException In case the kernel is already booted.

1 method overrides DrupalKernelInterface::setSitePath()
DrupalKernel::setSitePath in core/lib/Drupal/Core/DrupalKernel.php
Set the current site path.

File

core/lib/Drupal/Core/DrupalKernelInterface.php, line 80
Contains \Drupal\Core\DrupalKernelInterface.

Class

DrupalKernelInterface
The interface for DrupalKernel, the core of Drupal.

Namespace

Drupal\Core

Code

public function setSitePath($path);