mirror of
https://github.com/YunoHost/doc.git
synced 2024-09-03 20:06:26 +02:00
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');
|
||
|
}
|
||
|
}
|