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
entity_crud_hook_test_taxonomy_vocabulary_delete function modules/simpletest/tests/entity_crud_hook_test.module Implements hook_taxonomy_vocabulary_delete().
entity_crud_hook_test_taxonomy_vocabulary_insert function modules/simpletest/tests/entity_crud_hook_test.module Implements hook_taxonomy_vocabulary_insert().
entity_crud_hook_test_taxonomy_vocabulary_load function modules/simpletest/tests/entity_crud_hook_test.module Implements hook_taxonomy_vocabulary_load().
entity_crud_hook_test_taxonomy_vocabulary_presave function modules/simpletest/tests/entity_crud_hook_test.module Implements hook_taxonomy_vocabulary_presave().
entity_crud_hook_test_taxonomy_vocabulary_update function modules/simpletest/tests/entity_crud_hook_test.module Implements hook_taxonomy_vocabulary_update().
entity_crud_hook_test_user_delete function modules/simpletest/tests/entity_crud_hook_test.module Implements hook_user_delete().
entity_crud_hook_test_user_insert function modules/simpletest/tests/entity_crud_hook_test.module Implements hook_user_insert().
entity_crud_hook_test_user_load function modules/simpletest/tests/entity_crud_hook_test.module Implements hook_user_load().
entity_crud_hook_test_user_presave function modules/simpletest/tests/entity_crud_hook_test.module Implements hook_user_presave().
entity_crud_hook_test_user_update function modules/simpletest/tests/entity_crud_hook_test.module Implements hook_user_update().
FieldBulkDeleteTestCase::checkHooksInvocations function modules/field/tests/field.test Tests that the expected hooks have been invoked on the expected entities.
FileHookTestCase class modules/simpletest/tests/file.test Base class for file tests that use the file_test module to test uploads and
hooks.
FileHookTestCase::assertFileHookCalled function modules/simpletest/tests/file.test Assert that a hook_file_* hook was called a certain number of times.
FileHookTestCase::assertFileHooksCalled function modules/simpletest/tests/file.test Assert that all of the specified hook_file_* hooks were called once, other
values result in failure.
FileHookTestCase::setUp function modules/simpletest/tests/file.test Sets up a Drupal site for running functional and integration tests.
FilterHooksTestCase class modules/filter/filter.test Tests for Filter's hook invocations.
FilterHooksTestCase::getInfo function modules/filter/filter.test
FilterHooksTestCase::setUp function modules/filter/filter.test Sets up a Drupal site for running functional and integration tests.
FilterHooksTestCase::testFilterHooks function modules/filter/filter.test Tests hooks on format management.
Hook implementations for user-created content types group modules/node/node.module Functions that implement hooks for user-created content types.
HookBootExitTestCase class modules/simpletest/tests/bootstrap.test Test hook_boot() and hook_exit().
HookBootExitTestCase::getInfo function modules/simpletest/tests/bootstrap.test
HookBootExitTestCase::setUp function modules/simpletest/tests/bootstrap.test Sets up a Drupal site for running functional and integration tests.
HookBootExitTestCase::testHookBootExit function modules/simpletest/tests/bootstrap.test Test calling of hook_boot() and hook_exit().
HookRequirementsTestCase class modules/system/system.test Tests failure of hook_requirements('install').
HookRequirementsTestCase::getInfo function modules/system/system.test
HookRequirementsTestCase::testHookRequirementsFailure function modules/system/system.test Assert that a module cannot be installed if it fails hook_requirements().
Hooks group includes/module.inc Allow modules to interact with the Drupal core.
hook_actions_delete function modules/system/system.api.php Executes code after an action is deleted.
hook_action_info function modules/system/system.api.php Declares information about actions.
hook_action_info_alter function modules/system/system.api.php Alters the actions declared by another module.
hook_admin_paths function modules/system/system.api.php Define administrative paths.
hook_admin_paths_alter function modules/system/system.api.php Redefine administrative paths defined by other modules.
hook_aggregator_fetch function modules/aggregator/aggregator.api.php Create an alternative fetcher for aggregator.module.
hook_aggregator_fetch_info function modules/aggregator/aggregator.api.php Specify the title and short description of your fetcher.
hook_aggregator_parse function modules/aggregator/aggregator.api.php Create an alternative parser for aggregator module.
hook_aggregator_parse_info function modules/aggregator/aggregator.api.php Specify the title and short description of your parser.
hook_aggregator_process function modules/aggregator/aggregator.api.php Create a processor for aggregator.module.
hook_aggregator_process_info function modules/aggregator/aggregator.api.php Specify the title and short description of your processor.
hook_aggregator_remove function modules/aggregator/aggregator.api.php Remove stored feed data.
hook_ajax_render_alter function modules/system/system.api.php Alter the commands that are sent to the user through the Ajax framework.
hook_archiver_info function modules/system/system.api.php Declare archivers to the system.
hook_archiver_info_alter function modules/system/system.api.php Alter archiver information declared by other modules.
hook_batch_alter function modules/system/system.api.php Alter batch information before a batch is processed.
hook_block_cid_parts_alter function modules/block/block.api.php Act on block cache ID (cid) parts before the cid is generated.
hook_block_configure function modules/block/block.api.php Define a configuration form for a block.
hook_block_info function modules/block/block.api.php Define all blocks provided by the module.
hook_block_info_alter function modules/block/block.api.php Change block definition before saving to the database.
hook_block_list_alter function modules/block/block.api.php Act on blocks prior to rendering.
hook_block_save function modules/block/block.api.php Save the configuration options from hook_block_configure().

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