group behaviors
This commit is contained in:
parent
c21a305f56
commit
36796545d5
@ -18,9 +18,11 @@ if (!dcCore::app()->auth->isSuperAdmin()) {
|
||||
return null;
|
||||
}
|
||||
|
||||
dcCore::app()->addBehavior('adminModulesListGetActions', ['translaterAdminBehaviors', 'adminModulesGetActions']);
|
||||
dcCore::app()->addBehavior('adminModulesListDoActions', ['translaterAdminBehaviors', 'adminModulesDoActions']);
|
||||
dcCore::app()->addBehavior('adminDashboardFavoritesV2', ['translaterAdminBehaviors', 'adminDashboardFavoritesV2']);
|
||||
dcCore::app()->addBehaviors([
|
||||
'adminModulesListGetActions' => ['translaterAdminBehaviors', 'adminModulesGetActions'],
|
||||
'adminModulesListDoActions' => ['translaterAdminBehaviors', 'adminModulesDoActions'],
|
||||
'adminDashboardFavoritesV2' => ['translaterAdminBehaviors', 'adminDashboardFavoritesV2'],
|
||||
]);
|
||||
|
||||
dcCore::app()->menu[dcAdmin::MENU_PLUGINS]->addItem(
|
||||
__('Translater'),
|
||||
|
Loading…
Reference in New Issue
Block a user