public function onGetTemplateList() { $this->validateRequestTheme(); $page = new Page($this->theme); return ['layouts' => $page->getLayoutOptions()]; }
public function getLayoutOptions() { $page = new Page(); $layouts = $page->getLayoutOptions(); return $layouts; }