I have a Drupal 7 module that creates a custom node type. It's working, but I need to add a field to the nodes to track how many times they get "used."
Where can I find the different field types I'm able to create when using field_create_field? All I've found reference to are "text" and "image." Is there an option for a "numeric" field type?
I found the answer by searching api.drupal.org for _field_info. From there, I found number_field_info, which includes a type of number_integer.