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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.