This is a potentially bad practice, as the plugin may be operating without a reference to the controller. If you feel using the available configuration is necessary, then we need to inject the config service, or the appropriate configuration segment(s) into the plugin (in its factory).