MDL-29808 qformats: use standard pluginname string and add version.php
[moodle.git] / question / format / upgrade.txt
CommitLineData
64679179
TH
1This files describes API changes for question import/export format plugins.
2
3=== 2.2 ===
4
5* The plugin name used to be defined in a string called the same thing as the
6format, with assoicated help strings, for example:
7
8$string['aiken'] = 'Aiken format';
9$string['aiken_help'] = 'This is a simple format ...';
10$string['aiken_link'] = 'qformat/aiken';
11
12This needs to be changed to use the standard string name pluginname, as for
13other plugin types.
14
15$string['pluginname'] = 'Aiken format';
16$string['pluginname_help'] = 'This is a simple format ...';
17$string['pluginname_link'] = 'qformat/aiken';