[development] Choosing the correct subscript in the views array

jeff at ayendesigns.com jeff at ayendesigns.com
Tue Oct 26 16:01:17 UTC 2010


Got it ... should have been ...['entity_id']... and not ['entity']

Interesting side note...I have 100+ of the more common modules sitting 
on my development box. A grep of views_data_alter in *.module returned 
only 2 hits: node_order and D7 date...more fringe than I thought!

On 10/25/2010 10:55 PM, jeff at ayendesigns.com wrote:
> I got my views handler test code working for node title, and now I'm 
> trying to get the real code working with a content-type additional 
> field (D7). My problem is that in calling hook_views_data_alter, the 
> data array is different for a custom content-type field than it is for 
> node_title, and I'm getting lost in it trying to figure out what the 
> index is that I need to override in order to use my own field handler 
> (I'm assuming that I need to override, that if I were not creating a 
> custom handler the field would be using a default one)
>


More information about the development mailing list