7 functions implement hook_preprocess()
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.
- CommonTestThemeHooks::preprocess in core/
modules/ system/ tests/ modules/ common_test/ src/ Hook/ CommonTestThemeHooks.php - Implements hook_preprocess().
- ContextualThemeHooks::preprocess in core/
modules/ contextual/ src/ Hook/ ContextualThemeHooks.php - Implements hook_preprocess().
- ModuleTestOopPreprocessThemeHooks::rootPreprocess in core/
modules/ system/ tests/ modules/ module_test_oop_preprocess/ src/ Hook/ ModuleTestOopPreprocessThemeHooks.php - #[Hook('preprocess')]
- module_test_procedural_preprocess_preprocess in core/
modules/ system/ tests/ modules/ module_test_procedural_preprocess/ module_test_procedural_preprocess.module - search_langcode_test_search_preprocess in core/
modules/ search/ tests/ modules/ search_langcode_test/ search_langcode_test.module - Implements hook_search_preprocess().
- template_preprocess in core/
includes/ theme.inc - Adds a default set of helper variables for preprocessors and templates.
- template_preprocess_theme_test_deprecations_preprocess in core/
modules/ system/ tests/ modules/ theme_test/ theme_test.module - Implements template_preprocess_HOOK() for theme_test_deprecations_preprocess.
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.