Functions - 7.x - drupal

Primary tabs

Title Deprecated File name Summary Direct uses Strings
hook_user_load modules/user/user.api.php Act on user objects when loaded from the database.
hook_user_login modules/user/user.api.php The user just logged in.
hook_user_logout modules/user/user.api.php The user just logged out.
hook_user_operations modules/user/user.api.php Add mass user operations.
hook_user_presave modules/user/user.api.php A user account is about to be created or updated.
hook_user_role_delete modules/user/user.api.php Respond to user role deletion.
hook_user_role_insert modules/user/user.api.php Respond to creation of a new user role.
hook_user_role_presave modules/user/user.api.php Act on a user role being inserted or updated.
hook_user_role_update modules/user/user.api.php Respond to updates to a user role.
hook_user_update modules/user/user.api.php A user account was updated.
hook_user_view modules/user/user.api.php The user's account information is being displayed.
hook_user_view_alter modules/user/user.api.php The user was built; the module may modify the structured content.
hook_validate modules/node/node.api.php Perform node validation before a node is created or updated.
hook_valid_email_address_alter modules/system/system.api.php Alter core e-mail validation.
hook_verify_update_archive modules/update/update.api.php Verify an archive after it has been downloaded and extracted.
hook_view modules/node/node.api.php Display a node.
hook_watchdog modules/system/system.api.php Log an event message.
hook_xmlrpc modules/system/system.api.php Register XML-RPC callbacks.
hook_xmlrpc_alter modules/system/system.api.php Alters the definition of XML-RPC methods before they are called.
image_crop includes/image.inc Crops an image to a rectangle specified by the given dimensions. 3 1
image_crop_effect modules/image/image.effects.inc Image effect callback; Crop an image resource. 1 1
image_crop_form modules/image/image.admin.inc Form structure for the image crop form. 1
image_default_style_revert modules/image/image.module Reverts the changes made by users to a default image style. 1
image_default_style_save modules/image/image.module Saves a default image style to the database. 1
image_desaturate includes/image.inc Converts an image to grayscale. 2 4
image_desaturate_effect modules/image/image.effects.inc Image effect callback; Desaturate (grayscale) an image resource. 1 2
image_dimensions_scale includes/image.inc Scales image dimensions while maintaining aspect ratio. 3
image_effects modules/image/image.module Loads all image effects from the database. 1 4
image_effect_apply modules/image/image.module Applies an image effect to the image object. 1
image_effect_color_validate modules/image/image.admin.inc Element validate handler to ensure a hexadecimal color value. 1
image_effect_definitions modules/image/image.module Returns a set of image effects. 3 1
image_effect_definition_load modules/image/image.module Loads the definition for an image effect. 4
image_effect_delete modules/image/image.module Deletes an image effect. 2
image_effect_delete_form modules/image/image.admin.inc Form builder; Form for deleting an image effect. 1
image_effect_delete_form_submit modules/image/image.admin.inc Submit handler to delete an image effect.
image_effect_form modules/image/image.admin.inc Form builder; Form for adding and editing image effects. 1
image_effect_form_submit modules/image/image.admin.inc Submit handler for updating an image effect.
image_effect_integer_validate modules/image/image.admin.inc Element validate handler to ensure an integer pixel value. 2
image_effect_load modules/image/image.module Loads a single image effect. 1
image_effect_save modules/image/image.module Saves an image effect. 6
image_effect_scale_validate modules/image/image.admin.inc Element validate handler to ensure that either a height or a width is specified. 1
image_field_delete modules/image/image.field.inc Implements hook_field_delete().
image_field_delete_field modules/image/image.module Implements hook_field_delete_field().
image_field_delete_instance modules/image/image.module Implements hook_field_delete_instance().
image_field_delete_revision modules/image/image.field.inc Implements hook_field_delete_revision().
image_field_formatter_info modules/image/image.field.inc Implements hook_field_formatter_info().
image_field_formatter_settings_form modules/image/image.field.inc Implements hook_field_formatter_settings_form().
image_field_formatter_settings_summary modules/image/image.field.inc Implements hook_field_formatter_settings_summary().
image_field_formatter_view modules/image/image.field.inc Implements hook_field_formatter_view().
image_field_info modules/image/image.field.inc Implements hook_field_info().

Other projects


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