How to alter variable for ECK entity?
I am adding an answer so anyone who comes across this that i was able to resolve the issue. I had to use mymodule_preprocess_eck_entity(&amp;$vars). 

When i tried to use the machine name in place of eck_entity, it did not work.