[development] Views 2 API hook_views_data and node relationships

Domas Monkus domas.m at gmail.com
Sat Nov 15 12:20:49 UTC 2008


Hi,
my module creates and maintains a table that basically links pairs of nodes
together (it has two columns, both representing nids).

I want to use views to show all nodes related through this table to the node
that is currently being viewed. What should the hook_views_data look like? I
read through the documentation, but didn't manage to figure this out.

Thanks in advance,
Domas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/development/attachments/20081115/ce3566c7/attachment.htm 


More information about the development mailing list