├── classes └── process.php ├── lang └── en │ └── local_testtags.php ├── version.php └── db └── tag.php /classes/process.php: -------------------------------------------------------------------------------- 1 | version = 2016060700; // The current plugin version (Date: YYYYMMDDXX). 5 | $plugin->requires = 2016052300; // Requires this Moodle version. 6 | $plugin->component = 'local_testtags'; // Full name of the plugin (used for diagnostics). 7 | -------------------------------------------------------------------------------- /db/tag.php: -------------------------------------------------------------------------------- 1 | 'local_testtags', 45 | 'itemtype' => 'course', 46 | 47 | // Test 1. Uncomment the following line, bump version and run upgrade script: 48 | //'collection' => 'testtagscollection', 49 | 50 | // Test 2. Comment line from test 1, uncomment the following, bump version and run upgrade script: 51 | //'callback' => 'local_testtags_process::tags', 52 | ), 53 | ); --------------------------------------------------------------------------------