You are here

public function RestfulDataProviderEFQ::update in RESTful 7

Update an item based on the request object.

Parameters

mixed $id: The unique ID for the item.

boolean $full_replace: TRUE if the data on the request represents the new object to replace the existing one. FALSE if the request only contains the bits that need updating.

Return value

array The structured array for the item ready to be rendered.

Overrides RestfulBase::update

File

plugins/restful/RestfulDataProviderEFQ.php, line 371
Contains \RestfulDataProviderEFQ

Class

RestfulDataProviderEFQ
@file Contains \RestfulDataProviderEFQ

Code

public function update($id, $full_replace = FALSE) {

  // Defer the actual implementation to \RestfulEntityBase.
  return $this
    ->updateEntity($id, $full_replace);
}