[development] Custom Handlers for Views 2

Hans Langouche hans.langouche at gmail.com
Sun Nov 21 10:37:05 UTC 2010

I recently did something as simple as this and that seems to work 
(define it in the _data hook).

class custom_module_handler_field_yours extends views_handler_field {
   function render($values) {
     return '<strong>'.$values->yourfield.'</strong>';


On 21/11/2010 10:36, Eric Schaefer wrote:
> 2010/11/20 Steve Ringwood<nevets at tds.net>:
>>     Install both views and advanced help, under advanced help you will find
>> information
>>     about custom field/query handlers
> *slapsforehead* I new I had seen it somewhere.
> Thanks,
> Eric

More information about the development mailing list