bring fieldtype typefunc closer to the actual fieldtype builtin
Merge pull request #7672 from carnaval/master

Bring fieldtype typefunc closer to the fieldtype builtin. Helps #7652