Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-83479

Add hooks to restore process.

XMLWordPrintable

      Problem statement:

      We would like to be able add extra processing of course content after restoring or copying.

      Proposed solution:

      The following changes can be made to the code.

      • A hook to enable plugins to add extra settings to the restore task. This would be placed inside restore_root_task::define_settings()
      • A hook to enable plugins to add extra fields to the copy course form. This would be done inside the copy_form class.
      • An adjustment to add the restore plan settings to the course restored event data. This would be done inside restore_plan::execute().
      • A hook to enable extra work inside the asynchronous copy task. To be placed inside asynchronous_copy_task::execute().

            jasondendulk Jason den Dulk
            jasondendulk Jason den Dulk
            Marcus Boon Marcus Boon
            Huong Nguyen Huong Nguyen
            Carlos Escobedo Carlos Escobedo
            Votes:
            2 Vote for this issue
            Watchers:
            11 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 5 hours, 1 minute
                5h 1m

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.