Try this:
ComponentAccessor.getPluginAccessor().isPluginEnabled(key)
Actually PluginAccessor is easier. I have updated the answer.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I am trying to test to see if it worked, but I think it solves.
Thank you (y)
Now leveraging its knowledge, know how to get an instance of "EventPublisher"? Now I can not get an instance of it by the builder as it has in this tutorial:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can inject it in the comstructor as given in the example.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.