Compare commits
20 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 644e4120f6 | |||
| 7b8da25747 | |||
| fe4703925c | |||
| 90e8683a94 | |||
| 19abfec1ea | |||
| 386a88488a | |||
| 2594718914 | |||
| fa4d859e70 | |||
| 428cce9c7f | |||
| ac3a2f6ca7 | |||
| 07fe866150 | |||
| a325afb463 | |||
| 3a4376039d | |||
| 96edaad9d7 | |||
| a56eb9d5f0 | |||
| e9b3b20334 | |||
| 4dd44d9d98 | |||
| f79e831e59 | |||
| 148a1a1624 | |||
| 6e95e6e216 |
+8
-12
@@ -2,13 +2,14 @@
|
||||
|
||||
namespace KTXM\Dashboard;
|
||||
|
||||
use KTXF\Module\ModuleBrowserInterface;
|
||||
use KTXF\Module\Configuration\BrowserModuleContextInterface;
|
||||
use KTXF\Module\Configuration\ModuleContextInterface;
|
||||
use KTXF\Module\ModuleInstanceAbstract;
|
||||
|
||||
/**
|
||||
* Dashboard Module
|
||||
*/
|
||||
class Module extends ModuleInstanceAbstract implements ModuleBrowserInterface
|
||||
class Module extends ModuleInstanceAbstract
|
||||
{
|
||||
|
||||
public function __construct()
|
||||
@@ -50,16 +51,11 @@ class Module extends ModuleInstanceAbstract implements ModuleBrowserInterface
|
||||
];
|
||||
}
|
||||
|
||||
public function registerBI(): array {
|
||||
return [
|
||||
'handle' => $this->handle(),
|
||||
'namespace' => 'Dashboard',
|
||||
'version' => $this->version(),
|
||||
'label' => $this->label(),
|
||||
'author' => $this->author(),
|
||||
'description' => $this->description(),
|
||||
'boot' => 'static/module.mjs',
|
||||
];
|
||||
public function configure(ModuleContextInterface $context): void
|
||||
{
|
||||
if ($context instanceof BrowserModuleContextInterface) {
|
||||
$context->registerModule($this, 'Dashboard', 'static/module.mjs');
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Generated
+219
-608
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user