I have 2 hook functions in my module:
hook_views_pre_render(), I retrieve some data about what nodes that are available that I need in
I'm looking for a way to pass the data from
hook_form_alter(). It seems simple, but I can't get it to work. Does anyone any idea?
What works for the moment is to add
global $aVariable to both the hook functions, but I believe there should be a better way.