We have a db table from custom module which has fields
entity_type. I need to exposed this table to views using
hook_views_data() and it should be possible to join with this table within any entity based views. So, join would form based on table fields
Is that possible?
Or may be we need to expose this table as multiple 'virtual' tables, one for each entity type. But no idea if that can be done either.