Suppress hook call should be made more versatile (similaro to modalframe).
I am implementing my own custom module that should be suppressed in dialogs, but there's no mechanism to suppress it the "standard" way.
Suppress hook call should be made more versatile (similaro to modalframe).
I am implementing my own custom module that should be suppressed in dialogs, but there's no mechanism to suppress it the "standard" way.
Comments
Comment #1
eugenmayer commentedi see. What do you expect? calling me a hook like "diailog_shown"...what does modal_frame do ( i could reuse it )
Comment #2
hualahyja commentedHi, this is the excerpt from modalframe.module, function modalframe_child_js():
module_invoke_all('suppress');
so do the call for all modules not only 'admin' and 'admin_menu'.
Some info on this hook is here: http://drupal.org/node/732146#comment-2673486