This is an old revision of the document!
Table of Contents
PLUGIN_CONFIG_PLUGINLIST
- Description:
- Allow modification of the plugin list used by the config plugin
- DefaultAction:
- none
- Preventable:
- no
- Added:
- 2009-01-19
The event is signalled by the config plugin, lib/plugins/config/settings/config.class.php after it retrieves the plugin list from the plugin controller. It can be used to filter the plugins handled by this plugin.
Passed Data
An indexed array of plugin names.
NOTE: The plugin list includes all plugins installed, including any disabled plugins. There is no indication in the list whether or not the plugin is currently disabled. To discover whether or not a plugin is disabled use either:
plugin_isdisabled('plugin_name'); // inc/pluginutils.php // or global $plugin_controller; $plugin_controller->isdisabled('plugin_name'); // inc/pluginutils.php (maybe overridden in preload.php)
Plugins handling this event
The following plugins are known to handle this event and their source code may be a good start for understanding and implementing a handler yourself.
The event is designed to allow wiki farms to control visibility of plugins to administrators of the individual wikis that make up the farm.