protected function prepareObject($object) { $object = parent::prepareObject($object); $object->name = $this->getDisplayName(); $object->description = $this->description; unset($object->read_access); return $object; }