Plugin Dependencies


Plugin dependencies can be added using the $plugin->dependencies attribute in version.php.

There are quite a few examples in the code base, for example:

filter_data depends on mod_data so the following appears in the filter/data/version.php:

$plugin->dependencies = array('mod_data' => 2014050800);

Revision #1
Created Mon, Aug 5, 2019 10:40 AM by Moodle Wiki
Updated Mon, Aug 5, 2019 10:40 AM by Moodle Wiki