Field Widget API

  1. cis7 modules/field/field.api.php field_widget
  2. cle7 modules/field/field.api.php field_widget
  3. elmsmedia7 modules/field/field.api.php field_widget
  4. icor7 modules/field/field.api.php field_widget
  5. meedjum_blog7 modules/field/field.api.php field_widget
  6. mooc7 modules/field/field.api.php field_widget

Define Field API widget types.

Field API widgets specify how fields are displayed in edit forms. Fields of a given field type may be edited using more than one widget. In this case, the Field UI module allows the site builder to choose which widget to use. Widget types are defined by implementing hook_field_widget_info().

Widgets are Form API elements with additional processing capabilities. Widget hooks are typically called by the Field Attach API during the creation of the field form structure with field_attach_form().

See also

Field API

Field Types API

Field Formatter API


Namesort descending Location Description
hook_field_widget_error modules/field/field.api.php Flag a field-level validation error.
hook_field_widget_form modules/field/field.api.php Return the form for a single field widget.
hook_field_widget_form_alter modules/field/field.api.php Alter forms for field widgets provided by other modules.
hook_field_widget_info modules/field/field.api.php Expose Field API widget types.
hook_field_widget_info_alter modules/field/field.api.php Perform alterations on Field API widget types.
hook_field_widget_properties_alter modules/field/field.api.php Alters the widget properties of a field instance before it gets displayed.
hook_field_widget_WIDGET_TYPE_form_alter modules/field/field.api.php Alter widget forms for a specific widget provided by another module.


modules/field/field.api.php, line 694




Error message

  • Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/elmsln_community/ in drupal_send_headers() (line 1499 of /var/www/html/elmsln_community/
  • Error: Call to undefined function apc_delete() in DrupalAPCCache->clear() (line 289 of /var/www/html/elmsln_community/
The website encountered an unexpected error. Please try again later.