Closed alexandru-elisei closed 8 years ago
I have a few questions about the backup feature:
1. Can every plugin type make a backup or only the mod plugins? I have only found examples for activity modules plugins. According to the Backup API there are other plugin types that can make backups.
2. Are the file names and class names using component_name or component? Because with activity modules they are the same (component isn't using the frankenstyle prefix). I've read the documentation again, it seems they are using the component name without the frankenstyle prefix.
Please rebase
This is not done, I'm working on it as part of the activity modules plugin type.
I'm closing the pull request and reopening it when it is in a finished state.
Given the recipe:
The backup/moodle2/backup_settingslib.php, backup/moodle2/backup_activitytask.class.php, backup/moodle2/backup_stepslib.php, backup/moodle2/restore_activity_task.class.php, backup/moodle2/restore_stepslib.php files will be created.