field.default.inc

Version 1.26 (checked in on 2009/12/13 at 12:41:08 by dries)

Default 'implementations' of hook_field_*(): common field housekeeping.

Those implementations are special, as field.module does not define any field types. Those functions take care of default stuff common to all field types. They are called through the _field_invoke_default() iterator, generally in the corresponding field_attach_[operation]() function.

Functions

NameDescription
field_default_extract_form_values
field_default_insertDefault field 'insert' operation.
field_default_prepare_translation
field_default_prepare_viewInvoke hook_field_formatter_prepare_view() on the relavant formatters.
field_default_submit
field_default_validateGeneric field validation handler.
field_default_viewDefault field 'view' operation.
Login or register to post comments
 
 

All source code and documentation on this site is released under the terms of the GNU General Public License, version 2 and later. Drupal is a registered trademark of Dries Buytaert.