Last active
January 2, 2016 09:29
-
-
Save ahmadshah/8283162 to your computer and use it in GitHub Desktop.
Overriding current active theme in Orchestra Platform
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
Event::fire('foo', ['another-theme']); | |
Event::listen('foo', function($theme) | |
{ | |
Orchestra\Theme::setTheme($theme); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment