Functions

Primary tabs

Namesort descending Location Description Direct uses Strings
hook_comment_publish drupal/core/modules/comment/comment.api.php Respond to a comment being published by a moderator.
hook_comment_unpublish drupal/core/modules/comment/comment.api.php Respond to a comment being unpublished by a moderator.
hook_comment_update drupal/core/modules/comment/comment.api.php Respond to updates to a comment.
hook_comment_view drupal/core/modules/comment/comment.api.php Act on a comment that is being assembled before rendering.
hook_comment_view_alter drupal/core/modules/comment/comment.api.php Alter the results of comment_view().
hook_contextual_links_view_alter drupal/core/modules/contextual/contextual.api.php Alter a contextual links element before it is rendered.
hook_countries_alter drupal/core/modules/system/system.api.php Alter the default country list.
hook_cron drupal/core/modules/system/system.api.php Perform periodic actions.
hook_css_alter drupal/core/modules/system/system.api.php Alter CSS files before they are output on the page.
hook_custom_theme drupal/core/modules/system/system.api.php Return the machine-readable name of the theme to use for the current page.
hook_data_type_info drupal/core/modules/system/system.api.php Defines available data types for the typed data API.
hook_data_type_info_alter drupal/core/modules/system/system.api.php Alter available data types for typed data wrappers.
hook_delete drupal/core/modules/node/node.api.php Respond to node deletion.
hook_disable drupal/core/modules/system/system.api.php Perform necessary actions before module is disabled.
hook_drupal_goto_alter drupal/core/modules/system/system.api.php Change the page the user is sent to by drupal_goto().
hook_editor_default_settings drupal/core/modules/editor/editor.api.php Provides defaults for editor instances.
hook_editor_default_settings_alter drupal/core/modules/editor/editor.api.php Modifies default settings for editor instances.
hook_editor_info_alter drupal/core/modules/editor/editor.api.php Performs alterations on text editor definitions.
hook_editor_js_settings_alter drupal/core/modules/editor/editor.api.php Modifies JavaScript settings that are added for text editors.
hook_edit_editor_alter drupal/core/modules/edit/edit.api.php Allow modules to alter in-place editor plugin metadata.
hook_element_info drupal/core/modules/system/system.api.php Allows modules to declare their own Form API element types and specify their default values.
hook_element_info_alter drupal/core/modules/system/system.api.php Alter the element type information returned from modules.
hook_enable drupal/core/modules/system/system.api.php Perform necessary actions after module is enabled.
hook_entity_bundle_create drupal/core/includes/entity.api.php Act on entity_bundle_create().
hook_entity_bundle_delete drupal/core/includes/entity.api.php Act on entity_bundle_delete().
hook_entity_bundle_info drupal/core/includes/entity.api.php Describe the bundles for entity types.
hook_entity_bundle_info_alter drupal/core/includes/entity.api.php Alter the bundles for entity types.
hook_entity_bundle_rename drupal/core/includes/entity.api.php Act on entity_bundle_rename().
hook_entity_create drupal/core/includes/entity.api.php Act on a newly created entity.
hook_entity_delete drupal/core/includes/entity.api.php Respond to entity deletion.
hook_entity_display_alter drupal/core/includes/entity.api.php Alters the settings used for displaying an entity.
hook_entity_field_access drupal/core/includes/entity.api.php Control access to fields.
hook_entity_field_access_alter drupal/core/includes/entity.api.php Alters the default access behaviour for a given field.
hook_entity_field_info drupal/core/includes/entity.api.php Define custom entity properties.
hook_entity_field_info_alter drupal/core/includes/entity.api.php Alter defined entity properties.
hook_entity_form_display_alter drupal/core/includes/entity.api.php Alters the settings used for displaying an entity form.
hook_entity_info drupal/core/includes/entity.api.php Add to entity type definitions.
hook_entity_info_alter drupal/core/includes/entity.api.php Alter the entity type definitions.
hook_entity_insert drupal/core/includes/entity.api.php Act on entities when inserted.
hook_entity_load drupal/core/includes/entity.api.php Act on entities when loaded.
hook_entity_operation_alter drupal/core/includes/entity.api.php Alter entity operations.
hook_entity_predelete drupal/core/includes/entity.api.php Act before entity deletion.
hook_entity_prepare_view drupal/core/includes/entity.api.php Act on entities as they are being prepared for view.
hook_entity_presave drupal/core/includes/entity.api.php Act on an entity before it is about to be created or updated.
hook_entity_query_alter drupal/core/includes/entity.api.php Alter or execute an Drupal\Core\Entity\Query\EntityQueryInterface.
hook_entity_update drupal/core/includes/entity.api.php Act on entities when updated.
hook_entity_view drupal/core/includes/entity.api.php Act on entities being assembled before rendering.
hook_entity_view_alter drupal/core/includes/entity.api.php Alter the results of ENTITY_view().
hook_entity_view_mode_alter drupal/core/includes/entity.api.php Change the view mode of an entity that is being displayed.
hook_entity_view_mode_info_alter drupal/core/includes/entity.api.php Alter the view modes for entity types.

Pages

Other projects