function image_filefield_paths_form_submit in File (Field) Paths 6
Implements hook_filefield_paths_form_submit().
File
- modules/
image.inc, line 36 - Provides FileField Paths integration with the Image module.
Code
function image_filefield_paths_form_submit(&$form_state, &$ffp) {
if (isset($form_state['values']['ffp_image'])) {
$ffp['image'] = array(
'type' => 'image',
);
}
}