webseite-grav/plugins/admin/classes/plugin/Themes.php

23 lines
390 B
PHP
Raw Permalink Normal View History

2021-04-30 11:23:26 +02:00
<?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');
}
}