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

Deprecate core_renderer::blocks_for_region

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 2.7
    • Fix Version/s: None
    • Component/s: Themes
    • Labels:
      None
    • Affected Branches:
      MOODLE_27_STABLE

      Description

      We should never ever have ended up with two ways to render blocks in core.
      It came about because we needed a better way to ensure block regions were rendered in order to finally put ourselves in a position to better solve issues around the display of block regions and to allow a simplier theme design be be established for example (look at how we simplified bootstrapbase/clean).

      When that we done we "deprecated" the old blocks_for_region method however it was never given a debugging notice and core themes were not converted.

      This MUST happen.
      Really MUST MUST MUST happen.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              samhemelryk Sam Hemelryk
              Participants:
              Component watchers:
              Bas Brands
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated: