public function RestfulEntityBase::patchEntity in RESTful 7
Update an entity using PATCH.
Non existing properties are skipped.
Parameters
$entity_id: The entity ID.
Return value
array Array with the output of the new entity, passed to RestfulEntityInterface::viewEntity().
File
- plugins/
restful/ RestfulEntityBase.php, line 589  - Contains RestfulEntityBase.
 
Class
- RestfulEntityBase
 - An abstract implementation of RestfulEntityInterface.
 
Code
public function patchEntity($entity_id) {
  return $this
    ->updateEntity($entity_id, FALSE);
}