Hooks

Allow modules to interact with the Drupal core.

Please refer to online help.

Functions

Namesort iconLocationDescription
gmap_cck_fieldgmap_addons/gmap_cck.moduleDefine the behavior of a field type.
gmap_cck_field_formattergmap_addons/gmap_cck.modulePrepare an individual item for viewing in a browser.
gmap_cck_field_formatter_infogmap_addons/gmap_cck.moduleDeclare information about a formatter.
gmap_cck_field_infogmap_addons/gmap_cck.moduleDeclare information about a field type.
gmap_cck_field_settingsgmap_addons/gmap_cck.moduleHandle the parameters for a field.
gmap_cck_widgetgmap_addons/gmap_cck.moduleDefine the behavior of a widget.
gmap_cck_widget_infogmap_addons/gmap_cck.moduleDeclare information about a widget.
gmap_cck_widget_settingsgmap_addons/gmap_cck.moduleHandle the parameters for a widget.
hook_add_to_cartubercart/docs/hooks.phpDo extra processing when an item is added to the shopping cart.
hook_add_to_cart_dataubercart/docs/hooks.phpAdd extra information to a cart item's "data" array.
hook_cart_displayubercart/docs/hooks.phpControl the display of an item in the cart.
hook_cart_itemubercart/docs/hooks.phpAdd extra data about an item in the cart.
hook_cart_paneubercart/docs/hooks.phpRegister callbacks for a cart pane.
hook_categorycategory/docs/developer/hooks/core.phpManipulate categories and containers, and respond to category-related events.
hook_category_exportcategory/docs/developer/hooks/core.phpDefine one or more export formats for categories. Each export format defined here can then be enabled or disabled on a per-container basis.
hook_category_legacycategory/docs/developer/hooks/core.phpRespond to category import and export events.
hook_checkout_paneubercart/docs/hooks.phpRegister callbacks for a checkout pane.
hook_content_def_referencesimportexportapi/docs/developer/hooks/importexportapi_content.phpAlter the data definition of a CCK field, as defined by content_def().
hook_count_user_subscriptionssubscriptions_og/docs/hooks.phpDeclare a subscription plugin count handler.
hook_db_def_tablesimportexportapi/docs/developer/hooks/importexportapi_db.phpDefine the aliases of database tables that are used in data definitions.
hook_defimportexportapi/docs/developer/hooks/importexportapi.phpDeclare the data definition of one or more entities and its child fields.
hook_def_alterimportexportapi/docs/developer/hooks/importexportapi.phpAlter the data definition of one or more entities and its fields, as defined through hook_def().
hook_def_field_typesimportexportapi/docs/developer/hooks/importexportapi.phpDefine certain characteristics of one or more field types.
hook_disablesubscriptions_og/docs/hooks.phpPerform necessary actions before module is disabled. (Copied from api.drupal.org).
hook_download_authorizeubercart/docs/hooks.phpGive clearance to a user to download a file.
hook_engines_get_putimportexportapi/docs/developer/hooks/importexportapi.phpDefine one or more 'get' or 'put' engines.
hook_fieldcck.pre-rename/field.phpDefine the behavior of a field type.
hook_field_formattercck.pre-rename/field.phpPrepare an individual item for viewing in a browser.
hook_field_formatter_infocck.pre-rename/field.phpDeclare information about a formatter.
hook_field_infocck.pre-rename/field.phpDeclare information about a field type.
hook_field_settingscck.pre-rename/field.phpHandle the parameters for a field.
hook_filemanager_areasfilemanager/doc/filemanager.phpDefine file areas this module uses.
hook_filemanager_downloadfilemanager/doc/filemanager.phpDetermine whether this private download is accessible by the user.
hook_file_actionubercart/docs/hooks.phpPerform actions on file products.
hook_file_transfer_alterubercart/docs/hooks.phpMake changes to a file before it is downloaded by the customer.
hook_form_altersubscriptions_og/docs/hooks.phpPerform alterations before a form is rendered. (Copied from api.drupal.org).
hook_gmapgmap/gmap.phpChange the way gmap works.
hook_gsitemapgsitemap/docs/gsitemap.phpDefine additional links to add to the site map.
hook_installsubscriptions_og/docs/hooks.phpInstall the current version of the database schema. (Copied from api.drupal.org).
hook_line_itemubercart/docs/hooks.phpUsed to define line items that are attached to orders.
hook_mailkeyssubscriptions_og/docs/hooks.phpProvide mailkeys definitions.
hook_menusubscriptions_og/docs/hooks.phpDefine menu items and page callbacks. (Copied from api.drupal.org).
hook_nodeapisubscriptions_og/docs/hooks.phpAct on nodes defined by other modules.
hook_node_def_alterimportexportapi/docs/developer/hooks/importexportapi_node.phpAlter the data definition of the base node entity and its fields, as defined in importexportapi_node_get_def().
hook_ogsubscriptions_og/docs/hooks.phpDeclare a Organic Groups event handler.
hook_og_notifysubscriptions_og/docs/hooks.phpGiven a node object prevents or not OG module sending notifications. (Based on OG documentation).
hook_orderubercart/docs/hooks.phpPerform actions on orders.
hook_order_actionsubercart/docs/hooks.phpAdd links to local tasks for orders on the admin's list of orders.
hook_order_paneubercart/docs/hooks.phpRegister callbacks for an order pane.
hook_payment_gatewayubercart/docs/hooks.phpRegister payment gateway callbacks. See also@link http://www.ubercart.org/docs/api/hook_payment_gateway @endlink
hook_payment_methodubercart/docs/hooks.phpRegister callbacks for payment methods.
hook_product_classubercart/docs/hooks.phpPerform actions on product classes.
hook_product_typesubercart/docs/hooks.phpList node types which should be considered products.
hook_sfc_bundle_createsf_cache/sf_cache_hooks.phpAct upon the creation of a bundle.
hook_sfc_bundle_deletesf_cache/sf_cache_hooks.phpAct upon the deletion of a bundle.
hook_sfc_bundle_updatesf_cache/sf_cache_hooks.phpAct upon the update of a bundle.
hook_sfc_composite_altersf_cache/sf_cache_hooks.phpAllows alterations to the composite file process.
hook_sfc_composite_deploysf_cache/sf_cache_hooks.phpAllows deployment of a bundle to another location.
hook_sfc_composite_modifysf_cache/sf_cache_hooks.phpAllows modification of the composite file's content.
hook_sfc_composite_retractsf_cache/sf_cache_hooks.phpAllows removal of a deployed composite file.
hook_sfc_file_createsf_cache/sf_cache_hooks.phpAct upon the creation of a file.
hook_sfc_file_deletesf_cache/sf_cache_hooks.phpAct upon the deletion of a file record.
hook_sfc_file_modifysf_cache/sf_cache_hooks.phpAllows modification of a file's content before it is added to the composite.
hook_sfc_file_updatesf_cache/sf_cache_hooks.phpAct upon the update of a file.
hook_shipmentubercart/docs/hooks.phpHandle additional data for shipments.
hook_shipping_methodubercart/docs/hooks.phpDefine callbacks and service options for shipping methods.
hook_shipping_typeubercart/docs/hooks.phpDefine shipping types for shipping methods.
hook_signup_status_access_rostersignup_status/hooks/signup_status.phpGrant or deny the currently logged-in user access to the signup roster.
hook_signup_status_cert_contentsignup_status/hooks/signup_status.phpProvide additional content for the header area of the certificate for the given node. * *
hook_signup_status_operationssignup_status/hooks/signup_status.phpAdd signup status mass operations.
hook_signup_status_roster_contentsignup_status/hooks/signup_status.phpProvide additional content for the header area of the roster for the given node.
hook_store_statusubercart/docs/hooks.phpAdd status messages to the "Store administration" page.
hook_subscriptionssubscriptions_og/docs/hooks.phpDeclare a subscription event handler and plugin hook dispatcher.
hook_uc_messageubercart/docs/hooks.phpConvenience function to display large blocks of text in several places.
hook_uninstallsubscriptions_og/docs/hooks.phpRemove any tables or variables that the module sets. (Copied from api.drupal.org).
hook_update_cart_itemubercart/docs/hooks.phpHandle requests to update a cart item.
hook_update_signup_statussignup_status/hooks/signup_status.phpAct upon status change of a user's signup.
hook_views_pre_querysubscriptions_og/docs/hooks.phpCalled just before a query begins to be built for every view. (Copied from Views 1.x module developer API)
hook_views_tablessubscriptions_og/docs/hooks.phpReturns an array of table objects. (Adapted from Views 1.x module developer API).
hook_widgetcck.pre-rename/field.phpDefine the behavior of a widget.
hook_widget_infocck.pre-rename/field.phpDeclare information about a widget.
hook_widget_settingscck.pre-rename/field.phpHandle the parameters for a widget.
hook_xmlsitemap_enginesxmlsitemap/docs/xmlsitemap.phpDefine actions for search engines.
hook_xmlsitemap_linksxmlsitemap/docs/xmlsitemap.phpDefine additional links to add to the site map.
mobile_codes_thememobile_codes/mobile_codes.moduleImplementation of hook_theme().
subscriptions_og_installsubscriptions_og/subscriptions_og.installImplementation of hook_install().
subscriptions_og_uninstallsubscriptions_og/subscriptions_og.installImplementation of hook_uninstall().
subscriptions_og_views_pre_querysubscriptions_og/subscriptions_og_views.incImplementation of hook_views_pre_query().
subscriptions_og_views_tablessubscriptions_og/subscriptions_og_views.incImplementation of hook_views_tables().
_hook_node_optionssubscriptions_og/docs/hooks.phpConstructs node options to be displayed in the node subscriptions controls.
_hook_typessubscriptions_og/docs/hooks.phpReturns an array with information of types for subscriptions module user interface.