PluginConsumer
trait PluginConsumer (View source)
Allows adding, loading, and sorting of plugins
Methods
Details
PluginConsumer
addPlugin(string $pluginName, array $config = [])
No description
PluginConsumer
removePlugin(string $pluginName)
No description
PluginConsumer
mergePlugins(array $plugins)
No description
PluginConsumer
setPlugins(array $plugins)
No description
PluginConsumer
setDefaultPlugins(array $plugins)
No description
array
getPlugins(bool $inheritDefaults = true)
No description
array
getDefaultPlugins()
No description
bool
hasPlugin(string $identifier)
No description
PluginRegistry
getPluginRegistry()
No description
Generator
loadPlugins()
Translates all the ID and config settings to first class instances
array
getSortedPlugins()
Sorts the before/after of plugins using topological sort