This is a quite big rebuild of the structure of the module. The main module (Rabbit Hole) will act as a helper module for the other modules, and take care of the required base functionality.
Other modules should be taking care of one entity each, e.g. rh_node and rh_taxonomy_term. Those modules will include one required hook called hook_rabbit_hole(), and will contain any specific behavior for their entity type.
This is a quite big rebuild of the structure of the module. The main module (Rabbit Hole) will act as a helper module for the other modules, and take care of the required base functionality.
Other modules should be taking care of one entity each, e.g. rh_node and rh_taxonomy_term. Those modules will include one required hook called hook_rabbit_hole(), and will contain any specific behavior for their entity type.