Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function filefield_paths_form_alter(&$form, $form_state, $form_id) {
- dsm('filefield_paths_form_alter');
- $ffp = array();
- // Invoke hook_filefield_paths_form_alter().
- //in this case will be file and image, dynamically creates hook name and calls the hook
- //the hooks alter the form and add file/image settings to the fields
- foreach (module_implements('filefield_paths_form_alter') as $module) {
- $function = $module . '_filefield_paths_form_alter';
- $function($form, $ffp);
- }
- // If supporting module enabled, show FileField Paths settings form.
- //@TODO use correct field_settings_hooks
- //Es wird nur gealtert wenn die hooks in den icn files auch was altern
Add Comment
Please, Sign In to add comment