protected function cleanUpRequestBodyForEdit(array &$request_body, UserInterface $user = null)
    {
        $this->cleanUpRequestBody($request_body, $user);

        if ($this->pool->isTypePolymorph($this->getTypeClassName()) && array_key_exists('type', $request_body)) {
            unset($request_body['type']);
        }
    }