mirror of
https://github.com/discourse/discourse.git
synced 2025-05-23 13:31:18 +08:00
DEV: allow the plugin to register valid site setting areas (#29432)
In this PR, we defined the ability to group site settings by area - https://github.com/discourse/discourse/pull/28570 Plugins should be able to register in their own areas.
This commit is contained in:

committed by
GitHub

parent
4529b0614c
commit
0839bce7b6
@ -72,6 +72,7 @@ class DiscoursePluginRegistry
|
||||
define_register :demon_processes, Set
|
||||
define_register :groups_callback_for_users_search_controller_action, Hash
|
||||
define_register :mail_pollers, Set
|
||||
define_register :site_setting_areas, Set
|
||||
|
||||
define_filtered_register :staff_user_custom_fields
|
||||
define_filtered_register :public_user_custom_fields
|
||||
|
Reference in New Issue
Block a user