DokuWiki

It's better when it's simple

User Tools

Site Tools


devel:event:plugin_config_pluginlist

This is an old revision of the document!


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)

see inc/pluginutils.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.

  • FIXME

The event is designed to allow wiki farms to control visibility of plugins to administrators of the individual wikis that make up the farm.

See also

devel/event/plugin_config_pluginlist.1527607471.txt.gz · Last modified: 2018-05-29 17:24 by andi

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki