generated from Nodarx/template
62 lines
1.3 KiB
PHP
62 lines
1.3 KiB
PHP
<?php
|
|
|
|
namespace KTXM\Themer;
|
|
|
|
use KTXF\Module\ModuleBrowserInterface;
|
|
use KTXF\Module\ModuleInstanceAbstract;
|
|
|
|
class Module extends ModuleInstanceAbstract implements ModuleBrowserInterface
|
|
{
|
|
public function __construct()
|
|
{ }
|
|
|
|
public function handle(): string
|
|
{
|
|
return 'themer';
|
|
}
|
|
|
|
public function label(): string
|
|
{
|
|
return 'Appearance';
|
|
}
|
|
|
|
public function author(): string
|
|
{
|
|
return 'Ktrix';
|
|
}
|
|
|
|
public function description(): string
|
|
{
|
|
return 'Theme selection and customization for users and tenants.';
|
|
}
|
|
|
|
public function version(): string
|
|
{
|
|
return '0.0.1';
|
|
}
|
|
|
|
public function permissions(): array
|
|
{
|
|
return [
|
|
'themer' => [
|
|
'label' => 'Access Appearance Settings',
|
|
'description' => 'View and access the appearance settings module',
|
|
'group' => 'Themer'
|
|
],
|
|
];
|
|
}
|
|
|
|
public function registerBI(): array
|
|
{
|
|
return [
|
|
'handle' => $this->handle(),
|
|
'namespace' => 'Themer',
|
|
'version' => $this->version(),
|
|
'label' => $this->label(),
|
|
'author' => $this->author(),
|
|
'description' => $this->description(),
|
|
'boot' => 'static/module.mjs',
|
|
];
|
|
}
|
|
}
|