field.default.inc
field.default.inc
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.
File
modules/field/field.default.incFunctions
Name | Description |
---|---|
field_default_extract_form_values | Extracts field values from submitted form values. |
field_default_insert | Default field 'insert' operation. |
field_default_prepare_translation | Copies source field values into the entity to be prepared. |
field_default_prepare_view | Invokes hook_field_formatter_prepare_view() on the relevant formatters. |
field_default_submit | |
field_default_validate | Generic field validation handler. |
field_default_view | Builds a renderable array for one field on one entity instance. |
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/modules!field!field.default.inc/7.x