Created
April 8, 2015 08:55
-
-
Save sachbearbeiter/7cac34dfcb683f3646d3 to your computer and use it in GitHub Desktop.
D8: Theming examples: Theme: Global theme variables - get path to the active theme
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
\Drupal::theme()->getActiveTheme()->getPath(); | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment