Brickyard::PluginBundle::Filter - Plugin bundle to filter another plugin bundle
In your registry.ini:
; use [@MyBundle], but replace the [FooBar] plugin with a custom one [*@Filter] bundle = @MyBundle remove = FooBar mybundle_config1 = value1 mybundle_config2 = value2 [Better::FooBar] baz = frobnule baz = frobnule2
This plugin bundle wraps and modifies another plugin bundle. It includes all the configuration for the bundle named in the
bundle attribute, but removes all the entries whose package is given in the
Options prefixed with
- will be passed to the bundle to be filtered.
Read-write accessor for the name of the bundle that should be filtered. It will be expanded as per Brickyard's
Read-write accessor for the name(s) of plugins that should be removed from the bundle. These names too will be expanded as per Brickyard's
Loads the target bundle's configuration, filters the plugins and returns the remaining configuration.
Takes a bundle configuration and a reference to an array of package names that should be removed from the bundle configuration. Returns the filtered configuration.