function filefield_paths_filefield_paths_form_options in File (Field) Paths 6.2
Implements hook_filefield_paths_form_options().
File
- modules/
filefield_paths.inc, line 37 - FileField Paths module integration.
Code
function filefield_paths_filefield_paths_form_options($widget) {
$options = array();
foreach (_filefield_paths_includes() as $include) {
if (function_exists($function = "_filefield_paths_include_{$include}_filefield_paths_form_options")) {
$options = array_merge($function($widget), $options);
}
}
return $options;
}