You are here

protected function RestfulDataProviderDbQuery::replace in RESTful 7

Replace a record by another.

File

plugins/restful/RestfulDataProviderDbQuery.php, line 380
Contains \RestfulDataProviderDbQuery

Class

RestfulDataProviderDbQuery
@file Contains \RestfulDataProviderDbQuery

Code

protected function replace($id) {
  return $this
    ->update($id, TRUE);
}