Simple views handler to compute math expression. In Views, I would like to expose a fake field that is just an elementary mathematical expression of other fields of the table (let's say, for example, field1+field2).

I expose the field in hook_vies_data via some

  $data['my_table']['fake_field'] = array(
   'field' =&gt; array(
     'handler' =&gt; 'views_handler_my_handler',
  );


Which function of the handler shall I define? And how do I get in the handler the two values of field1 and field2?

Alternatively, where do I found the documentation of what I am looking for?
Instead of creating own handler you should use already existent Global: math expression that allows you using of tokens to calculate everything you want.