23 lines
390 B
PHP
23 lines
390 B
PHP
|
<?php
|
||
|
|
||
|
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');
|
||
|
}
|
||
|
}
|