Seditio Source
Root |
./othercms/croogo-4.0.7/vendor/croogo/croogo/Dashboards/config/admin_menu.php
<?php

use Croogo\Core\Nav;

Nav::add('sidebar', 'dashboard', [
   
'icon' => 'home',
   
'title' => __d('croogo', 'Dashboard'),
   
'url' => '/admin',
   
'weight' => 0,
]);

Nav::add('sidebar', 'settings.children.dashboard', [
   
'title' => __d('croogo', 'Dashboard'),
   
'url' => [
       
'plugin' => 'Croogo/Dashboards',
       
'controller' => 'Dashboards',
       
'action' => 'index',
    ],
]);