Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. DrupalKernelInterface.php

function 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 95

Class

DrupalKernelInterface
The interface for DrupalKernel, the core of Drupal.

Namespace

Drupal\Core

Code

public function getSitePath();

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal