function ActiveTheme::getPath
Same name in other branches
- 9 core/lib/Drupal/Core/Theme/ActiveTheme.php \Drupal\Core\Theme\ActiveTheme::getPath()
- 8.9.x core/lib/Drupal/Core/Theme/ActiveTheme.php \Drupal\Core\Theme\ActiveTheme::getPath()
- 11.x 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 140
Class
- ActiveTheme
- Defines a theme and its information needed at runtime.
Namespace
Drupal\Core\ThemeCode
public function getPath() {
return $this->path;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.