diff --git a/Controller/BackendController.php b/Controller/BackendController.php index 02ed4ba..2364ec7 100644 --- a/Controller/BackendController.php +++ b/Controller/BackendController.php @@ -14,7 +14,6 @@ declare(strict_types=1); namespace Modules\ContractManagement\Controller; -use Modules\Dashboard\Models\DashboardElementInterface; use Modules\ContractManagement\Models\PermissionState; use phpOMS\Account\PermissionType; use phpOMS\Asset\AssetType; @@ -34,6 +33,6 @@ use phpOMS\Views\View; * @link https://orange-management.org * @since 1.0.0 */ -final class BackendController extends Controller implements DashboardElementInterface +final class BackendController extends Controller { } diff --git a/Controller/Controller.php b/Controller/Controller.php index 292ca46..d80d32d 100644 --- a/Controller/Controller.php +++ b/Controller/Controller.php @@ -64,9 +64,7 @@ class Controller extends ModuleAbstract * @var string[] * @since 1.0.0 */ - protected static array $providing = [ - 'Navigation', - ]; + protected static array $providing = []; /** * Dependencies. diff --git a/Theme/Backend/Lang/Navigation.en.lang.php b/Theme/Backend/Lang/Navigation.en.lang.php new file mode 100644 index 0000000..eedccf8 --- /dev/null +++ b/Theme/Backend/Lang/Navigation.en.lang.php @@ -0,0 +1,19 @@ + [ + 'Create' => 'Create', + 'Contract' => 'Contract', + 'List' => 'List', +]]; diff --git a/info.json b/info.json index c669822..50e2367 100644 --- a/info.json +++ b/info.json @@ -37,15 +37,6 @@ "from": "ContractManagement", "file": "ContractManagement" }, - { - "pid": [ - "/" - ], - "type": 4, - "for": "Navigation", - "from": "ContractManagement", - "file": "ContractManagement" - }, { "pid": [ "/"