I need to get the field type in my templates like I used to do:
field.getField.type but that does not seem to be working in Craft 3 anymore. The result is always
null. It also seems that the »type« column is gone completely from the craft_fields table.
How do I get the field type in Craft 3?