public function ActiveTheme::getPath

public ActiveTheme::getPath()

Returns the path to the theme directory.

Return value

string

File

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

Class

ActiveTheme
Defines a theme and its information needed at runtime.

Namespace

Drupal\Core\Theme

Code

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

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Theme!ActiveTheme.php/function/ActiveTheme::getPath/8.1.x