Creating your own fieldtype

DataGrab has the ability to register custom 3rd party fieldtypes.

To add a custom fieldtype add add the folder "datagrab_fieldytpes" in the addons directory at the same level as your "datagrab" add-on folder. For example:

circle-exclamation

Your datatype class will need to extend the AbstractDataType class. At minimum it will need to implement a few methods. There are a lot of examples to follow if you refer to the files within the datagrab/fieldtypes folder.

Last updated