#63529Tasks Center section menu is hardcoded
Description
Since the refactoring of the tasks center in 4.5, the section menu is hardcoded to information and tasks and cannot be changed.
This is because the menu items are collected inside the array key ‘mode’ instead of ‘function’.
Because ‘function’ is hardcoded in the logic of BaseScriptClass, copy the four lines from BaseScriptClass instead of calling parent:menu_config() in the TaskModuleController.
Additionally, ‘Tasks’ is hardcoded as a label. Replace it with a localized value.
Note: ‘function’ is preserved for backward compatibility and is already in use for the main tasks logic.