2022-04-24 14:32:58 +02:00
|
|
|
<?php
|
|
|
|
|
2023-01-13 11:19:01 +01:00
|
|
|
/**
|
|
|
|
* @package Grav\Plugin\Admin
|
|
|
|
*
|
2024-01-07 10:26:02 +01:00
|
|
|
* @copyright Copyright (c) 2015 - 2024 Trilby Media, LLC. All rights reserved.
|
2023-01-13 11:19:01 +01:00
|
|
|
* @license MIT License; see LICENSE file for details.
|
|
|
|
*/
|
|
|
|
|
2022-04-24 14:32:58 +02:00
|
|
|
namespace Grav\Plugin\Admin;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Admin theme object
|
|
|
|
*
|
|
|
|
* @author RocketTheme
|
|
|
|
* @license MIT
|
|
|
|
*/
|
|
|
|
class Themes extends \Grav\Common\Themes
|
|
|
|
{
|
|
|
|
public function init()
|
|
|
|
{
|
|
|
|
/** @var Themes $themes */
|
|
|
|
$themes = $this->grav['themes'];
|
|
|
|
$themes->configure();
|
|
|
|
$themes->initTheme();
|
|
|
|
|
|
|
|
$this->grav->fireEvent('onAdminThemeInitialized');
|
|
|
|
}
|
|
|
|
}
|