You are here

function relation_add_entity_presave in Relation add 7

Implements hook_entity_presave().

File

./relation_add.module, line 1288
Relation Add module file.

Code

function relation_add_entity_presave($entity, $entity_type) {
  if ('relation' == $entity_type) {
    _relation_add_field_cache_clear($entity);
  }
}