Skip to main content
Drupal API
Menu
User account menu
Log in
Breadcrumb
Drupal Core 11.1.x
ActiveTheme.php
function ActiveTheme::getPath
Returns the path to the theme directory.
Return value
string
File
core/
lib/
Drupal/
Core/
Theme/
ActiveTheme.php
, line 140
Class
ActiveTheme
Defines a theme and its information needed at runtime.
Namespace
Drupal\Core\Theme
Code
public
function
getPath
() {
return
$this
->
path
; }
RSS feed