6 functions implement hook_rebuild()

Note: the procedural functions in this list are found by pattern matching, so the list may include some functions that are not actually implementations of this hook.

BlockHooks::rebuild in core/modules/block/src/Hook/BlockHooks.php
Implements hook_rebuild().
drupal_rebuild in core/includes/utility.inc
Rebuilds all caches even when Drupal itself does not work.
FormTestStoragePageCacheForm::form_test_storage_page_cache_rebuild in core/modules/system/tests/modules/form_test/src/Form/FormTestStoragePageCacheForm.php
Form submit callback: Rebuild the form and continue.
node_access_needs_rebuild in core/modules/node/node.module
Toggles or reads the value of a flag for rebuilding the node access grants.
node_access_rebuild in core/modules/node/node.module
Rebuilds the node access database.
SearchHelpHooks::rebuild in core/modules/search/modules/search_help/src/Hook/SearchHelpHooks.php
Implements hook_rebuild().

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