Files
2026-06-17 23:14:59 -04:00

57 lines
1.2 KiB
PHP

<?php
namespace KTXM\MediaViewer;
use KTXF\Module\ModuleBrowserInterface;
use KTXF\Module\ModuleInstanceAbstract;
class Module extends ModuleInstanceAbstract implements ModuleBrowserInterface
{
public function __construct()
{ }
public function handle(): string
{
return 'media_viewer';
}
public function label(): string
{
return 'Media Viewer';
}
public function author(): string
{
return 'Ktrix';
}
public function description(): string
{
return 'Provides inline image and video preview via the file viewer integration point, reusable across modules such as Documents and Mail.';
}
public function version(): string
{
return '0.0.1';
}
public function permissions(): array
{
return [];
}
public function registerBI(): array
{
return [
'handle' => $this->handle(),
'namespace' => 'MediaViewer',
'version' => $this->version(),
'label' => $this->label(),
'author' => $this->author(),
'description' => $this->description(),
'boot' => 'static/module.mjs',
];
}
}