2022-04-24 14:32:58 +02:00
|
|
|
<?php
|
|
|
|
|
2023-01-13 11:19:01 +01:00
|
|
|
/**
|
|
|
|
* @package Grav\Plugin\Admin
|
|
|
|
*
|
|
|
|
* @copyright Copyright (c) 2015 - 2023 Trilby Media, LLC. All rights reserved.
|
|
|
|
* @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');
|
|
|
|
}
|
|
|
|
}
|