Para Drupal 7, si lo tiene drush
, puede pedirle una lista de "tipos de campo" (que incluye sus widgets) o "campos" (que incluye el nombre del campo y su "paquete" asociado).
La salida de muestra (Drupal 7 limpio) para drush field-info fields
da para mí:
Field name Field type Bundles
comment_body text_long comment_node_page,comment_node_article
body text_with_summary page,article
field_tags taxonomy_term_reference article
field_image image article
La salida para drush field-info types
da:
Field type Default widget Widgets
file file_generic file_generic
image image_image image_image
list_integer options_select options_select, options_buttons
list_float options_select options_select, options_buttons
list_text options_select options_select, options_buttons
list_boolean options_buttons options_buttons, options_onoff
number_integer number number
number_decimal number number
number_float number number
taxonomy_term_referen options_select options_select,
ce options_buttons,
taxonomy_autocomplete
text text_textfield text_textfield
text_long text_textarea text_textarea
text_with_summary text_textarea_with_sum text_textarea_with_summary
mary
field_ui
para ver esta página