You are here

function filefield_paths_update in File (Field) Paths 5

1 call to filefield_paths_update()
filefield_paths_form_submit in ./filefield_paths.module
Implementation of hook_form_submit().

File

./filefield_paths.module, line 277
Adds extra functionality to FileFields Path settings.

Code

function filefield_paths_update($field_name = NULL, $field_module, $type_name) {
  $module = !empty($field_name) ? 'filefield' : $field_module;

  // Invoke hook_filefield_paths_update().
  if (function_exists($function = $module . '_filefield_paths_update')) {
    $function($field_name, str_replace('-', '_', $type_name));
  }
}