Closed (fixed)
Project:
IMCE
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
2 Apr 2014 at 20:07 UTC
Updated:
16 Jul 2020 at 20:49 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
jmarkel commentedHere's the patch, adding the alter hook.
Comment #2
chapabu commentedThe hooks works perfectly, but if we're adding hooks they should be documented in imce.api.php.
This updated patch adds an imce.api.php file with an example implementation of
hook_imce_delete_file_alter().Comment #3
chapabu commentedComment #4
chapabu commentedWhoops, there was a stupid error in my example. This patch is not quite so embarrassing.
Comment #5
thallesI think this is not a good idea, we left like a patch.
Thanks everyone!
Comment #6
thalles