[development] how to implement hook_views_data() and add a field?

Earl Miles merlin at logrus.com
Wed Jan 7 22:07:45 UTC 2009

yi yang wrote:
> Hi,
> All I want is just return a number, which comes from a sql query count of my custom table. I want to represent that as a field so I can adjust it's position in the views ui. It doesn't sounds like very hard, right?

Views doesn't support doing things like COUNT() in normal operation yet.

More information about the development mailing list