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; }