public function RestfulEntityBase::putEntity in RESTful 7
Update an entity using PUT.
Non existing properties are assumed to be equal to NULL.
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 573 - Contains RestfulEntityBase.
Class
- RestfulEntityBase
- An abstract implementation of RestfulEntityInterface.
Code
public function putEntity($entity_id) {
return $this
->updateEntity($entity_id, TRUE);
}