פרסומים שנוצרו על-ידי Howard Miller

Moodle in English -> General developer forum -> Can anybody explain subplugins.json like I'm 5, please

על ידי Howard Miller בתאריך
תמונה של Core developers תמונה של Documentation writers תמונה של Particularly helpful Moodlers תמונה של Peer reviewers תמונה של Plugin developers

I'm trying to add subplugins to my local plugin and understand that I have to create a subplugins.php file. However, I can't figure out what the correct/latest format is. 

I've found MDL-83705 but I'm just (more) confused. 

{
    "subplugintypes": {
        "assignsubmission": "submission",
        "assignfeedback": "feedback"
    },
    "plugintypes": {
        "assignsubmission": "mod/assign/submission",
        "assignfeedback": "mod/assign/feedback"
    }
}

In the example, from the ticket, what's the difference between 'subplugintypes' and 'plugintypes' (and why)?

EDIT:

I'm getting grief about a 'plugininfo' class but I can't find any documentation about what should be in there?

ממוצע דרוגים: -
תמונה של Core developers תמונה של Documentation writers תמונה של Particularly helpful Moodlers תמונה של Peer reviewers תמונה של Plugin developers
Either your students are not enrolled as students (in the course or in the parent course category or even the site), you have modified permissions somewhere or you have modified the student role.