Hi,
I am looking to change the page layout by creating custom plugin in local.
$PAGE->set_pagelayout('popup');
For which i am looking for event of Page render.
One before page $output starts. Before.. below
echo $OUTPUT->header();
Ref: https://docs.moodle.org/dev/Event_2
Any such event? or help to add one?