always use and many other todo implementations

This commit is contained in:
Dennis Eichhorn 2022-03-17 22:39:52 +01:00
parent a529fa3624
commit 63db673b58
4 changed files with 54 additions and 2 deletions

View File

@ -0,0 +1,8 @@
[
{
"type": "component",
"board": 1,
"order": 1,
"module": "News"
}
]

View File

@ -0,0 +1,43 @@
<?php
/**
* Karaka
*
* PHP Version 8.0
*
* @package Modules\News\Admin\Install
* @copyright Dennis Eichhorn
* @license OMS License 1.0
* @version 1.0.0
* @link https://karaka.app
*/
declare(strict_types=1);
namespace Modules\News\Admin\Install;
use phpOMS\Application\ApplicationAbstract;
/**
* Dashboard class.
*
* @package Modules\News\Admin\Install
* @license OMS License 1.0
* @link https://karaka.app
* @since 1.0.0
*/
class Dashboard
{
/**
* Install dashboard providing
*
* @param string $path Module path
* @param ApplicationAbstract $app Application
*
* @return void
*
* @since 1.0.0
*/
public static function install(string $path, ApplicationAbstract $app) : void
{
\Modules\Dashboard\Admin\Installer::installExternal($app, ['path' => __DIR__ . '/Dashboard.install.json']);
}
}

View File

@ -29,14 +29,14 @@ class Navigation
/**
* Install navigation providing
*
* @param string $path Module path
* @param ApplicationAbstract $app Application
* @param string $path Module path
*
* @return void
*
* @since 1.0.0
*/
public static function install(string $path, ApplicationAbstract $app) : void
public static function install(ApplicationAbstract $app, string $path) : void
{
\Modules\Navigation\Admin\Installer::installExternal($app, ['path' => __DIR__ . '/Navigation.install.json']);
}

View File

@ -25,6 +25,7 @@
"providing": {
"Navigation": "*",
"Comments": "*",
"Dashboard": "*",
"Media": "*"
},
"load": [