You are here

public function ActiveTheme::getPath in Drupal 8

Same name and namespace in other branches
  1. 9 core/lib/Drupal/Core/Theme/ActiveTheme.php \Drupal\Core\Theme\ActiveTheme::getPath()

Returns the path to the theme directory.

Return value

string

File

core/lib/Drupal/Core/Theme/ActiveTheme.php, line 167

Class

ActiveTheme
Defines a theme and its information needed at runtime.

Namespace

Drupal\Core\Theme

Code

public function getPath() {
  return $this->path;
}