Lines Matching full:plugin
10 // plugin related constants
21 * Original plugin functions, remain for backwards compatibility
29 * @return array with plugin names or plugin component names
41 * Returns plugin object
42 * Returns only new instances of a plugin when $new is true or if plugin is not Singleton,
45 * @param $type string type of plugin to load
46 * @param $name string name of the plugin to load
47 …* @param $new bool true to return a new instance of the plugin, false to use an already lo…
49 * @return PluginInterface|null the plugin object or null on failure
59 * Whether plugin is disabled
61 * @param string $plugin name of plugin
64 function plugin_isdisabled($plugin) argument
68 return !$plugin_controller->isEnabled($plugin);
72 * Enable the plugin
74 * @param string $plugin name of plugin
77 function plugin_enable($plugin) argument
81 return $plugin_controller->enable($plugin);
85 * Disable the plugin
87 * @param string $plugin name of plugin
90 function plugin_disable($plugin) argument
94 return $plugin_controller->disable($plugin);
98 * Returns directory name of plugin
100 * @param string $plugin name of plugin
104 function plugin_directory($plugin) argument
106 dbg_deprecated('$plugin directly');
107 return $plugin;
113 * @return array with arrays of plugin configs
124 * Return the currently operating admin plugin or null
125 * if not on an admin plugin page
138 // attempt to load the plugin