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

Add events for adding/removing/configuring block instances

    XMLWordPrintable

    Details

      Description

      The events should cover all of the following cases:

      Core events:

      • block is added to the course page, frontpage, or any other page
      • block configuration is changed (this also includes visibility)
      • block position is changed *)
      • block is removed
      • blocks are added/configured/removed on "My home"
      • blocks are added/configured/removed on "Default My home page" (/my/indexsys.php)

      block_course_overview events:

      • block configuration is changed

      *) this is a tricky event similar to the events "module moved" and "section moved". Moving one block involves changing weights on several blocks. We might decide only to trigger event if the "region" is changed and ignore the changes in "weight"

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              marina Marina Glancy
              Participants:
              Component watchers:
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Sara Arjona (@sarjona), Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Sara Arjona (@sarjona)
              Votes:
              7 Vote for this issue
              Watchers:
              10 Start watching this issue

                Dates

                Created:
                Updated: