This event hook closure defines the config options that your plugin supports.
This block, from the platform-core plugin, defines two configuration values of type String, with a default value.
Behaving just like constraint validators, your validator returns null for "ok" or an i18n message string for the error.
Any method calls are assumed to be dot-separated Config key paths relative to the plugin's namespace.