fiso-site/fiso-theme/fiso-theme.php

28 lines
588 B
PHP
Raw Permalink Normal View History

2024-10-29 11:47:52 +00:00
<?php
namespace Grav\Theme;
use Grav\Common\Theme;
class FISO extends Theme
{
public static function getSubscribedEvents()
{
return [
'onThemeInitialized' => ['onThemeInitialized', 0],
'onTwigLoader' => ['onTwigLoader', 0],
'onTwigInitialized' => ['onTwigInitialized', 0],
];
}
public function onThemeInitialized()
{
// When using Composer
//require_once __DIR__ . '/vendor/autoload.php';
}
public function onTwigLoader() {}
public function onTwigInitialized() {}
}