We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this questionI 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.
精彩评论