Compare commits
19 Commits
51132cd3dd
..
main
| Author | SHA1 | Date | |
|---|---|---|---|
| 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;
|
namespace KTXM\Dashboard;
|
||||||
|
|
||||||
use KTXF\Module\ModuleBrowserInterface;
|
use KTXF\Module\Configuration\BrowserModuleContextInterface;
|
||||||
|
use KTXF\Module\Configuration\ModuleContextInterface;
|
||||||
use KTXF\Module\ModuleInstanceAbstract;
|
use KTXF\Module\ModuleInstanceAbstract;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Dashboard Module
|
* Dashboard Module
|
||||||
*/
|
*/
|
||||||
class Module extends ModuleInstanceAbstract implements ModuleBrowserInterface
|
class Module extends ModuleInstanceAbstract
|
||||||
{
|
{
|
||||||
|
|
||||||
public function __construct()
|
public function __construct()
|
||||||
@@ -50,16 +51,11 @@ class Module extends ModuleInstanceAbstract implements ModuleBrowserInterface
|
|||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
public function registerBI(): array {
|
public function configure(ModuleContextInterface $context): void
|
||||||
return [
|
{
|
||||||
'handle' => $this->handle(),
|
if ($context instanceof BrowserModuleContextInterface) {
|
||||||
'namespace' => 'Dashboard',
|
$context->registerModule($this, 'Dashboard', 'static/module.mjs');
|
||||||
'version' => $this->version(),
|
}
|
||||||
'label' => $this->label(),
|
|
||||||
'author' => $this->author(),
|
|
||||||
'description' => $this->description(),
|
|
||||||
'boot' => 'static/module.mjs',
|
|
||||||
];
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Generated
+208
-507
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user