Pimcore\Model\Object\ClassDefinition\CustomLayout\Dao::getLayoutData PHP Method

getLayoutData() protected method

Save object to database
protected getLayoutData ( ) : mixed
return mixed
    protected function getLayoutData()
    {
        $file = PIMCORE_CUSTOMLAYOUT_DIRECTORY . "/custom_definition_" . $this->model->getId() . ".psf";
        if (is_file($file)) {
            return Serialize::unserialize(file_get_contents($file));
        }
        return;
    }