Views - custon field handler

We encourage users to post events happening in the community to the community events group on https://www.drupal.org.
drupalprojects's picture

Hi Folks!

I need to create custom views field in my module. Basically it should behave like Node edit/delete field. I started with extending views_handler_field class and I can see and add my new field in views admin.

But when I add my new field to view - it don't display any values (empty).
My Code:

<?php
class views_handler_field_gift_delete extends views_handler_field {

    function
render($values) {
        return
'test';
    }

}
?>

Any ideas?

Views Developers

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: