mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-01-09 02:23:00 +01:00
NEW Introduce property module_position so a module can decide where it
appears into list of modules.
This commit is contained in:
@@ -53,6 +53,7 @@ class modMyModule extends DolibarrModules
|
||||
// Family can be 'crm','financial','hr','projects','products','ecm','technic','other'
|
||||
// It is used to group modules in module setup page
|
||||
$this->family = "other";
|
||||
$this->module_position = 500;
|
||||
// Module label (no space allowed), used if translation string 'ModuleXXXName' not found (where XXX is value of numeric property 'numero' of module)
|
||||
$this->name = preg_replace('/^mod/i','',get_class($this));
|
||||
// Module description, used if translation string 'ModuleXXXDesc' not found (where XXX is value of numeric property 'numero' of module)
|
||||
|
||||
Reference in New Issue
Block a user