function TwigExtension::getActiveThemePath
Gets the path of the active theme.
Return value
string The path to the active theme.
File
- 
              core/
lib/ Drupal/ Core/ Template/ TwigExtension.php, line 318  
Class
- TwigExtension
 - A class providing Drupal Twig extensions.
 
Namespace
Drupal\Core\TemplateCode
public function getActiveThemePath() {
  return $this->themeManager
    ->getActiveTheme()
    ->getPath();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.