/** * Overrides \RestfulEntityBase::updateEntity(). * * Unset the ID and self properties from the request if it was sent. */ protected function updateEntity($entity_id, $null_missing_fields = FALSE) { $request = $this->getRequest(); unset($request['id']); unset($request['self']); $this->setRequest($request); return parent::updateEntity($entity_id, $null_missing_fields); }