symphonycms/symphony-2 — Issue #978: [2.3 beta] How can extensions get current page object?
Author: nickdunn
Created: 2011-12-18 18:27:17+00:00
State: open

Lots of extensions subscribe to delegates such as `InitaliseAdminPageHead` in order to append assets. They get the `Page object using:

$page = $context['parent']->Page;

This now returns `NULL` because the `parent` key no longer exists. This is a breaking change for many dozens of extensions, and I can't figure out an easy solution.