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

Make course section edit form extendable by plugins, just like mod form

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • 4.5
    • Course
    • MOODLE_405_STABLE

      Plugins should be able to add fields to the section form. For example, formats and locals should be able to add fields to provide extra fields for specific features.

      This should be done using the current PSR-14 hooks:

      https://moodledev.io/docs/4.5/apis/core/hooks

      The forms should dispatch hooks to define, validate and process the form. Whether those three hooks can be merged into a single one is something the developer should decide.

      Adding hooks will allow any plugin to extend the form without creating unnecessary code couplings.

            Unassigned Unassigned
            technikum-wien Stefan Weber
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:

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