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.
Name![]() |
Description |
---|---|
field_default_insert | Inserts a default value if no $entity->$field_name entry was provided. |
field_default_prepare_translation | Copies source field values into the entity to be prepared. |
field_default_validate | Generic field validation handler. |