Timeline for Craft 3: how to call methods in another plugin's service?
Current License: CC BY-SA 4.0
4 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Feb 18, 2019 at 0:50 | vote | accept | Wei | ||
Feb 16, 2019 at 0:09 | answer | added | Brad Bell♦ | timeline score: 4 | |
Feb 15, 2019 at 6:17 | comment | added | Robin Schambach |
It works as well in other plugins if they have a variable called $plugin maybe you could tell us the name of the other plugin? Also it's important where you call this method. If it's in your plugins init function chances are high the other plugin is not created at this time
|
|
Feb 14, 2019 at 7:27 | history | asked | Wei | CC BY-SA 4.0 |