I was expecting something like this.
field.ini
- Code: Select all
[CALCFIELD]
widget:type = calc
widget:name = mycalcfield
atable.php
- Code: Select all
class tables_mytable ...
function field_CALCFIELD(&$record) {
return 'the calculated value';
}
Where did I go wrong?