You are here

function _filefield_paths_process_file_check in File (Field) Paths 6.2

Helper function; Invokes hook_filefield_paths_process_file_check().

1 call to _filefield_paths_process_file_check()
filefield_paths_node_update in ./filefield_paths.module
Implements hook_node_update().

File

./filefield_paths.module, line 194
Contains core functions for the FileField Paths module.

Code

function _filefield_paths_process_file_check($file, $field) {
  foreach (module_implements('filefield_paths_file_check') as $module) {
    if (module_invoke($module, 'filefield_paths_file_check', $file, $field) == TRUE) {
      return TRUE;
    }
  }
  return !$file['status'];
}