Functions - 7.x - drupal

Primary tabs

Title Deprecated File name Summary Direct uses Strings
hook_field_attach_submit modules/field/field.api.php Act on field_attach_submit().
hook_field_attach_update modules/field/field.api.php Act on field_attach_update().
hook_field_attach_validate modules/field/field.api.php Act on field_attach_validate().
hook_field_attach_view_alter modules/field/field.api.php Perform alterations on field_attach_view() or field_view_field().
hook_field_available_languages_alter modules/field/field.api.php Alter field_available_languages() values.
hook_field_create_field modules/field/field.api.php Act on a field being created.
hook_field_create_instance modules/field/field.api.php Act on a field instance being created.
hook_field_delete modules/field/field.api.php Define custom delete behavior for this module's field data.
hook_field_delete_field modules/field/field.api.php Act on a field being deleted.
hook_field_delete_instance modules/field/field.api.php Act on a field instance being deleted.
hook_field_delete_revision modules/field/field.api.php Define custom revision delete behavior for this module's field types.
hook_field_display_alter modules/field/field.api.php Alters the display settings of a field before it gets displayed.
hook_field_display_ENTITY_TYPE_alter modules/field/field.api.php Alters the display settings of a field on a given entity type before it gets displayed.
hook_field_extra_fields modules/field/field.api.php Exposes "pseudo-field" components on fieldable entities.
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_schema_alter modules/field/field.api.php Allow modules to alter the schema for a field.
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.

Other projects


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