mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-26 18:38:38 -06:00
19073 allow plugins to be marked as hidden or disabled in plugins table
This commit is contained in:
parent
e801af5138
commit
4b481cbacf
@ -33,3 +33,21 @@ Note that a plugin must be listed in `PLUGINS` for its configuration to take eff
|
||||
|
||||
---
|
||||
|
||||
## PLUGINS_CONFIG
|
||||
|
||||
Default: Empty
|
||||
|
||||
This parameter holds configuration settings for how the individual plugins are displayed in the plugins table under Admin->System->Plugins. Declaring `hidden` as True will make it so the plugin is not shown in the table. Declaring `disabled` will make it show the plugin in the table, but it won't be linked to the details and installation page for the plugin. An example configuration is shown below:
|
||||
|
||||
```python
|
||||
PLUGINS_TABLE_CONFIG = {
|
||||
'plugin1': {
|
||||
'hidden': True,
|
||||
},
|
||||
'plugin2': {
|
||||
'disabled': True,
|
||||
},
|
||||
}
|
||||
```
|
||||
|
||||
---
|
||||
|
Loading…
Reference in New Issue
Block a user