Themes.php 574 B

1234567891011121314151617181920212223242526272829
  1. <?php
  2. /**
  3. * @package Grav\Plugin\Admin
  4. *
  5. * @copyright Copyright (c) 2015 - 2023 Trilby Media, LLC. All rights reserved.
  6. * @license MIT License; see LICENSE file for details.
  7. */
  8. namespace Grav\Plugin\Admin;
  9. /**
  10. * Admin theme object
  11. *
  12. * @author RocketTheme
  13. * @license MIT
  14. */
  15. class Themes extends \Grav\Common\Themes
  16. {
  17. public function init()
  18. {
  19. /** @var Themes $themes */
  20. $themes = $this->grav['themes'];
  21. $themes->configure();
  22. $themes->initTheme();
  23. $this->grav->fireEvent('onAdminThemeInitialized');
  24. }
  25. }