function restful_entity_update in RESTful 7
Same name and namespace in other branches
- 7.2 restful.entity.inc \restful_entity_update()
Implements hook_entity_update().
File
- ./
restful.entity.inc, line 37 - Contains entity related code.
Code
function restful_entity_update($entity, $type) {
list($entity_id) = entity_extract_ids($type, $entity);
$cid = 'paet:' . $type . '::ei:' . $entity_id;
\RestfulManager::invalidateEntityCache($cid);
}