| 
									
										
										
										
											2015-11-25 18:31:25 +01:00
										 |  |  | <?php | 
					
						
							| 
									
										
										
										
											2019-03-20 12:52:16 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-01-02 11:17:40 -07:00
										 |  |  | /** | 
					
						
							|  |  |  |  * @package    Grav\Plugin\Admin | 
					
						
							|  |  |  |  * | 
					
						
							|  |  |  |  * @copyright  Copyright (c) 2015 - 2023 Trilby Media, LLC. All rights reserved. | 
					
						
							|  |  |  |  * @license    MIT License; see LICENSE file for details. | 
					
						
							|  |  |  |  */ | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2016-11-07 09:54:10 -07:00
										 |  |  | namespace Grav\Plugin\Admin; | 
					
						
							| 
									
										
										
										
											2015-11-25 18:31:25 +01:00
										 |  |  | 
 | 
					
						
							|  |  |  | /** | 
					
						
							|  |  |  |  * Admin theme object | 
					
						
							|  |  |  |  * | 
					
						
							| 
									
										
										
										
											2016-07-07 18:55:52 +02:00
										 |  |  |  * @author  RocketTheme | 
					
						
							| 
									
										
										
										
											2015-11-25 18:31:25 +01:00
										 |  |  |  * @license MIT | 
					
						
							|  |  |  |  */ | 
					
						
							|  |  |  | class Themes extends \Grav\Common\Themes | 
					
						
							|  |  |  | { | 
					
						
							|  |  |  |     public function init() | 
					
						
							|  |  |  |     { | 
					
						
							|  |  |  |         /** @var Themes $themes */ | 
					
						
							|  |  |  |         $themes = $this->grav['themes']; | 
					
						
							|  |  |  |         $themes->configure(); | 
					
						
							| 
									
										
										
										
											2017-04-19 17:11:45 -06:00
										 |  |  |         $themes->initTheme(); | 
					
						
							| 
									
										
										
										
											2015-12-02 17:22:48 +02:00
										 |  |  | 
 | 
					
						
							|  |  |  |         $this->grav->fireEvent('onAdminThemeInitialized'); | 
					
						
							| 
									
										
										
										
											2015-11-25 18:31:25 +01:00
										 |  |  |     } | 
					
						
							|  |  |  | } |