devsuite/cds/plugins/Crispage/DevSuite/CDSPlugin.php

32 lines
657 B
PHP
Raw Permalink Normal View History

2024-05-27 00:44:14 -04:00
<?php
namespace Crispage\DevSuite;
defined("ROOT") or die();
require_once ROOT . "/cds/DevSuite.php";
class CDSPlugin extends \Crispage\Framework\PluginClass {
public static function getExtensionInfo(): array {
return [
"id" => "crispage.devsuite.plugins.cdsplugin",
"version" => VERSION,
"package" => "crispage.devsuite"
];
}
public static function getPluginFields(): array {
return [];
}
public function __construct(\Crispage $app, array $data) {
parent::__construct($app, $data);
}
public function run(): void {
global $DevSuite;
$DevSuite = new DevSuite($this->app);
$DevSuite->init();
}
}
?>