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

Storing data for observers in events

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 2.6.2
    • 2.6.1
    • Events API
    • BACKEND Sprint 11

      This issue is half-bugfix and half-policy.
      Sometimes events need extra information that they give to observers. At the moment we have get_legacy_eventdata() method but it is protected and can not be used by new-style observers.

      Bug: some existing events lack public method for the custom data that is given to old-style observers.

      Policy: we need to standartise interface for additional data.

            marina Marina Glancy
            marina Marina Glancy
            Petr Skoda Petr Skoda
            Damyon Wiese Damyon Wiese
            Damyon Wiese Damyon Wiese
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

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