DokuWiki

It's better when it's simple

User Tools

Site Tools


devel:event:plugin_config_pluginlist

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

See also

devel/event/plugin_config_pluginlist.txt · Last modified: 2018-12-08 15:59 by torpedo

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