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
NodeLoadHooksTestCase class modules/node/node.test Tests for the hooks invoked during node_load().
NodeLoadHooksTestCase::getInfo function modules/node/node.test
NodeLoadHooksTestCase::setUp function modules/node/node.test Sets up a Drupal site for running functional and integration tests.
NodeLoadHooksTestCase::testHookNodeLoad function modules/node/node.test Test that hook_node_load() is invoked correctly.
RdfMappingHookTestCase class modules/rdf/rdf.test @file
Tests for rdf.module.
RdfMappingHookTestCase::getInfo function modules/rdf/rdf.test
RdfMappingHookTestCase::setUp function modules/rdf/rdf.test Sets up a Drupal site for running functional and integration tests.
RdfMappingHookTestCase::testMapping function modules/rdf/rdf.test Test that hook_rdf_mapping() correctly returns and processes mapping.
SystemAuthorizeCase::testFileTransferHooks function modules/system/system.test Tests the FileTransfer hooks
system_hook_info function modules/system/system.module Implements hook_hook_info().
TaxonomyHooksTestCase class modules/taxonomy/taxonomy.test Tests for taxonomy hook invocation.
TaxonomyHooksTestCase::getInfo function modules/taxonomy/taxonomy.test
TaxonomyHooksTestCase::setUp function modules/taxonomy/taxonomy.test Sets up a Drupal site for running functional and integration tests.
TaxonomyHooksTestCase::testTaxonomyTermHooks function modules/taxonomy/taxonomy.test Test that hooks are run correctly on creating, editing, viewing,
and deleting a term.
TaxonomyQueryAlterTestCase::setupQueryTagTestHooks function modules/taxonomy/taxonomy.test Sets up the hooks in the test module.
ThemeHookInitTestCase class modules/simpletest/tests/theme.test Functional test for initialization of the theme system in hook_init().
ThemeHookInitTestCase::getInfo function modules/simpletest/tests/theme.test
ThemeHookInitTestCase::setUp function modules/simpletest/tests/theme.test Sets up a Drupal site for running functional and integration tests.
ThemeHookInitTestCase::testThemeInitializationHookInit function modules/simpletest/tests/theme.test Test that the theme system can generate output when called by hook_init().
theme_test_hook_init_page_callback function modules/simpletest/tests/theme_test.module Menu callback for testing themed output generated in hook_init().
UpdateDependencyHookInvocationTestCase class modules/simpletest/tests/update.test Tests for the invocation of hook_update_dependencies().
UpdateDependencyHookInvocationTestCase::getInfo function modules/simpletest/tests/update.test
UpdateDependencyHookInvocationTestCase::setUp function modules/simpletest/tests/update.test Sets up a Drupal site for running functional and integration tests.
UpdateDependencyHookInvocationTestCase::testHookUpdateDependencies function modules/simpletest/tests/update.test Test the structure of the array returned by hook_update_dependencies().
UpdateTestContribCase::testHookUpdateStatusAlter function modules/update/update.test Checks that hook_update_status_alter() works to change a status.

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