private function getLayoutName()
    {
        if ($this->layout != null) {
            return $this->layout;
        }

        try {
            return $this->template->exists("backend_layout") ? "backend_layout" : $this->theme . "::layout";
        } catch (\LogicException $ex) {
            return $this->theme . "::layout";
        }
    }