Pimcore\Model\Document\Printcontainer::getTreeNodeConfig PHP Method

getTreeNodeConfig() public method

public getTreeNodeConfig ( )
    public function getTreeNodeConfig()
    {
        $tmpDocument = [];
        $tmpDocument["leaf"] = false;
        $tmpDocument["expanded"] = $this->hasNoChilds();
        $tmpDocument["iconCls"] = "pimcore_icon_printcontainer";
        $tmpDocument["permissions"] = ["view" => $this->isAllowed("view"), "remove" => $this->isAllowed("delete"), "settings" => $this->isAllowed("settings"), "rename" => $this->isAllowed("rename"), "publish" => $this->isAllowed("publish"), "create" => $this->isAllowed("create")];
        return $tmpDocument;
    }