source: moodle/trunk/fuentes/admin/tool/upgrade.txt @ 136

Last change on this file since 136 was 136, checked in by mabarracus, 4 years ago

Ported code to xenial

File size: 872 bytes
1This files describes API changes in /admin/tool/* - plugins,
2information provided here is intended especially for developers.
5=== 2.2 ===
7API changes:
8* new admin tool plugin type introduced
11How to migrate existing admin reports:
12# move all files to new /admin/tool/yourplugin/ location
13# update all links to admin tools /$CFG->admin/report/ to /$CFG->admin/tool/
14# add language pack with at least 'pluginname' string
15# update all language strings (use 'tool_yourplugin' instead of 'report_yourplugin') - use AMOS hints in commit message
16# update all capability names
17# create db/install.php migration script - delete old settings and capabilities (see converted plugins for examples)
18# grep the plugin codebase and look for any remaining 'coursereport' occurrences
19# update CSS selectors
21See for more details and explanation.
Note: See TracBrowser for help on using the repository browser.