Is there any way to call
hook_entity_view() from a theme?
I tried adding the implementation to the
template.php file, but the function is not called.
I know I can do it via custom module, but as it's a rather UI addition, it would make more sense to do through theme.