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

eugenmayer’s picture

i see. What do you expect? calling me a hook like "diailog_shown"...what does modal_frame do ( i could reuse it )

hualahyja’s picture

Hi, 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