From 47b10ae2969ae80d824e788a689be46ac5158c9e Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Thu, 17 Mar 2022 22:39:52 +0100 Subject: [PATCH] always use and many other todo implementations --- Admin/Install/Dashboard.install.json | 8 ++++++ Admin/Install/Dashboard.php | 43 ++++++++++++++++++++++++++++ Admin/Install/Navigation.php | 4 +-- Admin/Install/Search.php | 4 +-- info.json | 1 + 5 files changed, 56 insertions(+), 4 deletions(-) create mode 100644 Admin/Install/Dashboard.install.json create mode 100644 Admin/Install/Dashboard.php diff --git a/Admin/Install/Dashboard.install.json b/Admin/Install/Dashboard.install.json new file mode 100644 index 0000000..47e5086 --- /dev/null +++ b/Admin/Install/Dashboard.install.json @@ -0,0 +1,8 @@ +[ + { + "type": "component", + "board": 1, + "order": 1, + "module": "Tasks" + } +] \ No newline at end of file diff --git a/Admin/Install/Dashboard.php b/Admin/Install/Dashboard.php new file mode 100644 index 0000000..d870a0a --- /dev/null +++ b/Admin/Install/Dashboard.php @@ -0,0 +1,43 @@ + __DIR__ . '/Dashboard.install.json']); + } +} diff --git a/Admin/Install/Navigation.php b/Admin/Install/Navigation.php index 39758e7..2b0fbf5 100755 --- a/Admin/Install/Navigation.php +++ b/Admin/Install/Navigation.php @@ -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']); } diff --git a/Admin/Install/Search.php b/Admin/Install/Search.php index 13febfe..db8d28c 100755 --- a/Admin/Install/Search.php +++ b/Admin/Install/Search.php @@ -29,14 +29,14 @@ final class Search /** * 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\Search\Admin\Installer::installExternal($app, ['path' => __DIR__ . '/SearchCommands.php']); } diff --git a/info.json b/info.json index ebcd2c9..3efa7be 100755 --- a/info.json +++ b/info.json @@ -26,6 +26,7 @@ "providing": { "Navigation": "*", "Search": "*", + "Dashboard": "*", "Media": "*" }, "load": [