You are here

function filefield_file_references in FileField 6.3

Same name and namespace in other branches
  1. 6.2 filefield.module \filefield_file_references()

Implementation of hook_file_references().

File

./filefield.module, line 727
FileField: Defines a CCK file field type.

Code

function filefield_file_references($file) {
  $count = filefield_get_file_reference_count($file);
  return $count ? array(
    'filefield' => $count,
  ) : NULL;
}