This repository has been archived on 2024-04-19. You can view files and clone it, but cannot push or open issues or pull requests.
crispage-lite/patch/core/app/extensions/CoreExtensions.php
2023-12-07 14:07:15 -05:00

72 lines
1.5 KiB
PHP

<?php
/*
Crispage CMS
crispycat <the@crispy.cat>
https://crispy.cat/software/crispage
Crispage is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
*/
namespace Crispage\Extensions;
defined("ROOT") or die();
class CoreExtensions {
public static function get(): array {
return [
/*
new Extension(
id, version, package,
classname, type, data
),
*/
new Extension(
"crispage.core", VERSION, "crispage.core",
"crispage.core", "package", []
),
// Actions
new Extension(
"crispage.actions.default", VERSION, "crispage.core",
"\\Crispage\\Actions\\DefaultAction",
"action", []
),
// Components
new Extension(
"crispage.components.default", VERSION, "crispage.core",
"\\Crispage\\Components\\DefaultComponent",
"component", ["is_module" => true]
),
// Plugins
new Extension(
"crispage.plugins.default", VERSION, "crispage.core",
"\\Crispage\\Plugins\\DefaultPluginRunnable",
"component", []
),
// Templates
new Extension(
"crispage.templates.default", VERSION, "crispage.core",
"default", "template", []
),
// Translations
new Extension(
"crispage.translations.en_us.default", VERSION, "crispage.core",
"en-US_default", "translation", []
)
];
}
}
?>