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().
- contextual_preprocess in modules/
contextual/ contextual.module - Implements hook_preprocess().
- field_attach_preprocess in modules/
field/ field.attach.inc - Populate the template variables with the field values available for rendering.
- ModuleTestOopPreprocessThemeHooks::rootPreprocess in core/
modules/ system/ tests/ modules/ module_test_oop_preprocess/ src/ Hook/ ModuleTestOopPreprocessThemeHooks.php - #[Hook('preprocess')]
- search_invoke_preprocess in modules/
search/ search.module - Invokes hook_search_preprocess() in modules.
- template_preprocess in includes/
theme.inc - Adds a default set of helper variables for variable processors and templates.
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.