Passing variables between different Drupal hooks using context API
Felix :
Drupal's nature of using hooks to allow functionality override by contributed modules, by the same token it is difficult to have data available between different hook implementations during the request process, specially if they are overridden. Simply we just need to have certain values available overall the system, once they are set.

