Search for hook_

  1. Search 9.5.x for hook_
  2. Search 8.9.x for hook_
  3. Search 10.3.x for hook_
  4. Search 11.x for hook_
  5. Other projects
Title Object type File name Summary
hook_field_storage_delete_field function modules/field/field.api.php Act on deletion of a field.
hook_field_storage_delete_instance function modules/field/field.api.php Act on deletion of a field instance.
hook_field_storage_delete_revision function modules/field/field.api.php Delete a single revision of field data for an entity.
hook_field_storage_details function modules/field/field.api.php Reveal the internal details about the storage for a field.
hook_field_storage_details_alter function modules/field/field.api.php Perform alterations on Field API storage details.
hook_field_storage_info function modules/field/field.api.php Expose Field API storage backends.
hook_field_storage_info_alter function modules/field/field.api.php Perform alterations on Field API storage types.
hook_field_storage_load function modules/field/field.api.php Load field data for a set of entities.
hook_field_storage_pre_insert function modules/field/field.api.php Act before the storage backends insert field data.
hook_field_storage_pre_load function modules/field/field.api.php Act before the storage backends load field data.
hook_field_storage_pre_update function modules/field/field.api.php Act before the storage backends update field data.
hook_field_storage_purge function modules/field/field.api.php Remove field storage information when field data is purged.
hook_field_storage_purge_field function modules/field/field.api.php Remove field storage information when a field record is purged.
hook_field_storage_purge_field_instance function modules/field/field.api.php Remove field storage information when a field instance is purged.
hook_field_storage_query function modules/field/field.api.php Execute an EntityFieldQuery.
hook_field_storage_update_field function modules/field/field.api.php Update the storage information for a field.
hook_field_storage_write function modules/field/field.api.php Write field data for an entity.
hook_field_update function modules/field/field.api.php Define custom update behavior for this module's field data.
hook_field_update_field function modules/field/field.api.php Act on a field being updated.
hook_field_update_forbid function modules/field/field.api.php Forbid a field update from occurring.
hook_field_update_instance function modules/field/field.api.php Act on a field instance being updated.
hook_field_validate function modules/field/field.api.php Validate this module's field data.
hook_field_widget_error function modules/field/field.api.php Flag a field-level validation error.
hook_field_widget_form function modules/field/field.api.php Return the form for a single field widget.
hook_field_widget_form_alter function modules/field/field.api.php Alter forms for field widgets provided by other modules.
hook_field_widget_info function modules/field/field.api.php Expose Field API widget types.
hook_field_widget_info_alter function modules/field/field.api.php Perform alterations on Field API widget types.
hook_field_widget_properties_alter function modules/field/field.api.php Alters the widget properties of a field instance before it gets displayed.
hook_field_widget_properties_ENTITY_TYPE_alter function modules/field/field.api.php Alters the widget properties of a field instance on a given entity type
before it gets displayed.
hook_field_widget_settings_form function modules/field_ui/field_ui.api.php Add settings to a widget settings form.
hook_field_widget_WIDGET_TYPE_form_alter function modules/field/field.api.php Alter widget forms for a specific widget provided by another module.
hook_filetransfer_info function modules/system/system.api.php Register information about FileTransfer classes provided by a module.
hook_filetransfer_info_alter function modules/system/system.api.php Alter the FileTransfer class registry.
hook_file_copy function modules/system/system.api.php Respond to a file that has been copied.
hook_file_delete function modules/system/system.api.php Respond to a file being deleted.
hook_file_download function modules/system/system.api.php Control access to private file downloads and specify HTTP headers.
hook_file_download_access function modules/file/file.api.php Control download access to files.
hook_file_download_access_alter function modules/file/file.api.php Alter the access rules applied to a file download.
hook_file_insert function modules/system/system.api.php Respond to a file being added.
hook_file_load function modules/system/system.api.php Load additional information into file objects.
hook_file_mimetype_mapping_alter function modules/system/system.api.php Alter MIME type mappings used to determine MIME type from a file extension.
hook_file_move function modules/system/system.api.php Respond to a file that has been moved.
hook_file_presave function modules/system/system.api.php Act on a file being inserted or updated.
hook_file_update function modules/system/system.api.php Respond to a file being updated.
hook_file_url_alter function modules/system/system.api.php Alter the URL to a file.
hook_file_validate function modules/system/system.api.php Check that files meet a given criteria.
hook_filter_format_disable function modules/filter/filter.api.php Perform actions when a text format has been disabled.
hook_filter_format_insert function modules/filter/filter.api.php Perform actions when a new text format has been created.
hook_filter_format_update function modules/filter/filter.api.php Perform actions when a text format has been updated.
hook_filter_info function modules/filter/filter.api.php Define content filters.

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