General developer forum

Autocreate webservice token upon plugin installaion

 
Picture of Darko Miletić
Re: Autocreate webservice token upon plugin installaion
Core developersParticularly helpful Moodlers

Yes. You should place your code in install.php. Take a look into structure of moodle plugin

https://docs.moodle.org/dev/Plugin_files#db.2Finstall.php


 
Average of ratings: -