feel free to keep it strictly simple...

install droplets

If you want to install Droplets during installation of your module you have simply to do this:

 

Place the Droplet (for example 'droplet_name.zip' ) that should be installed in a directory  /install  in the root of your module.

Then simply add following code to the install.php (or upgrade.php) of your module

 

 

// install droplets
LEPTON_handle::install_droplets('module_name', 'droplet_name');

 

and you are done.

 

 

To uninstall droplets please use

 

LEPTON_handle::uninstall_droplets('droplet_name');

 

 

For further informations and more methods please use core documentation.