function file_field_entity_dependencies in Entity Dependency API 7
Implements hook_field_entity_dependencies().
Related topics
1 call to file_field_entity_dependencies()
File
- ./
entity_dependency.core.inc, line 122 - Contains hook implementations for all relevant core module.
Code
function file_field_entity_dependencies($entity_type, $entity, $field, $instance, $langcode, $items) {
$dependencies = array();
entity_dependency_add($dependencies, $items, 'file', 'fid');
entity_dependency_add($dependencies, $items, 'user', 'uid');
return $dependencies;
}