You are here

public function DrupalKernelInterface::getSitePath in Drupal 9

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

Get the site path.

Return value

string The current site path.

1 method overrides DrupalKernelInterface::getSitePath()
DrupalKernel::getSitePath in core/lib/Drupal/Core/DrupalKernel.php
Get the site path.

File

core/lib/Drupal/Core/DrupalKernelInterface.php, line 93

Class

DrupalKernelInterface
The interface for DrupalKernel, the core of Drupal.

Namespace

Drupal\Core

Code

public function getSitePath();