Project

General

Profile

Feature #35178

Updated by Holger Just almost 3 years ago

Currently it is quite cumbersome to add a tab to the projects settings. It is necessary to patch the @ProjectsHelper@ `ProjectsHelper` and override the @project_settings_tabs@, `project_settings_tabs`, which can be dangerous if the behaviour of the checks in the method change and patching helpers can lead to problems due to load orders. 

 I would suggest to at least extract the list of tags from the method to a constant like for the @CustomFieldsHelper::CUSTOM_FIELDS_TABS@ `CustomFieldsHelper::CUSTOM_FIELDS_TABS` list. This would have the added benefit that it would not be necessary to duplicate any logic from the @project_settings_tabs@ `project_settings_tabs` to a plugin if needed.

Back