Functions - 7.x - drupal

Primary tabs

Title Deprecated File name Summary Direct uses Strings
hook_field_extra_fields_alter modules/field/field.api.php Alter "pseudo-field" components on fieldable entities.
hook_field_extra_fields_display_alter modules/field/field.api.php Alters the display settings of pseudo-fields before an entity is displayed.
hook_field_formatter_info modules/field/field.api.php Expose Field API formatter types.
hook_field_formatter_info_alter modules/field/field.api.php Perform alterations on Field API formatter types.
hook_field_formatter_prepare_view modules/field/field.api.php Allow formatters to load information for field values being displayed.
hook_field_formatter_settings_form modules/field_ui/field_ui.api.php Specify the form elements for a formatter's settings.
hook_field_formatter_settings_summary modules/field_ui/field_ui.api.php Return a short summary for the current formatter settings of an instance.
hook_field_formatter_view modules/field/field.api.php Build a renderable array for a field value.
hook_field_info modules/field/field.api.php Define Field API field types.
hook_field_info_alter modules/field/field.api.php Perform alterations on Field API field types.
hook_field_info_max_weight modules/field/field.api.php Returns the maximum weight for the entity components handled by the module.
hook_field_insert modules/field/field.api.php Define custom insert behavior for this module's field data.
hook_field_instance_settings_form modules/field_ui/field_ui.api.php Add settings to an instance field settings form.
hook_field_is_empty modules/field/field.api.php Define what constitutes an empty item for a field type.
hook_field_language_alter modules/field/field.api.php Perform alterations on field_language() values.
hook_field_load modules/field/field.api.php Define custom load behavior for this module's field types.
hook_field_prepare_translation modules/field/field.api.php Define custom prepare_translation behavior for this module's field types.
hook_field_prepare_view modules/field/field.api.php Prepare field values prior to display.
hook_field_presave modules/field/field.api.php Define custom presave behavior for this module's field types.
hook_field_purge_field modules/field/field.api.php Acts when a field record is being purged.
hook_field_purge_instance modules/field/field.api.php Acts when a field instance is being purged.
hook_field_read_field modules/field/field.api.php Act on field records being read from the database.
hook_field_read_instance modules/field/field.api.php Act on a field record being read from the database.
hook_field_schema modules/field/field.api.php Define the Field API schema for a field structure.
hook_field_settings_form modules/field_ui/field_ui.api.php Add settings to a field settings form.
hook_field_storage_create_field modules/field/field.api.php Act on creation of a new field.
hook_field_storage_delete modules/field/field.api.php Delete all field data for an entity.
hook_field_storage_delete_field modules/field/field.api.php Act on deletion of a field.
hook_field_storage_delete_instance modules/field/field.api.php Act on deletion of a field instance.
hook_field_storage_delete_revision modules/field/field.api.php Delete a single revision of field data for an entity.
hook_field_storage_details modules/field/field.api.php Reveal the internal details about the storage for a field.
hook_field_storage_details_alter modules/field/field.api.php Perform alterations on Field API storage details.
hook_field_storage_info modules/field/field.api.php Expose Field API storage backends.
hook_field_storage_info_alter modules/field/field.api.php Perform alterations on Field API storage types.
hook_field_storage_load modules/field/field.api.php Load field data for a set of entities.
hook_field_storage_pre_insert modules/field/field.api.php Act before the storage backends insert field data.
hook_field_storage_pre_load modules/field/field.api.php Act before the storage backends load field data.
hook_field_storage_pre_update modules/field/field.api.php Act before the storage backends update field data.
hook_field_storage_purge modules/field/field.api.php Remove field storage information when field data is purged.
hook_field_storage_purge_field modules/field/field.api.php Remove field storage information when a field record is purged.
hook_field_storage_purge_field_instance modules/field/field.api.php Remove field storage information when a field instance is purged.
hook_field_storage_query modules/field/field.api.php Execute an EntityFieldQuery.
hook_field_storage_update_field modules/field/field.api.php Update the storage information for a field.
hook_field_storage_write modules/field/field.api.php Write field data for an entity.
hook_field_update modules/field/field.api.php Define custom update behavior for this module's field data.
hook_field_update_field modules/field/field.api.php Act on a field being updated.
hook_field_update_forbid modules/field/field.api.php Forbid a field update from occurring.
hook_field_update_instance modules/field/field.api.php Act on a field instance being updated.
hook_field_validate modules/field/field.api.php Validate this module's field data.
hook_field_widget_error modules/field/field.api.php Flag a field-level validation error.

Other projects


Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.