PluginRegistry constructor options.
Optional
Validate that a plugin is allowed to be registered.
Default is () => true.
() => true
The plugin to validate
Whether the plugin can be registered or not.
We recommend you print a console message with the reason a plugin is invalid.
PluginRegistry constructor options.