Search for _preprocess_

  1. Search 7.x for _preprocess_
  2. Search 9.5.x for _preprocess_
  3. Search 10.3.x for _preprocess_
  4. Search 11.x for _preprocess_
  5. Other projects
Title Object type File name Summary
rdf_preprocess_node function core/modules/rdf/rdf.module Implements hook_preprocess_HOOK() for node templates.
rdf_preprocess_taxonomy_term function core/modules/rdf/rdf.module Implements hook_preprocess_HOOK() for taxonomy term templates.
rdf_preprocess_user function core/modules/rdf/rdf.module Implements hook_preprocess_HOOK() for user templates.
rdf_preprocess_username function core/modules/rdf/rdf.module Implements hook_preprocess_HOOK() for username.html.twig.
Registry::mergePreprocessFunctions function core/lib/Drupal/Core/Theme/Registry.php Merges the source hook's preprocess functions into the destination hook's.
RegistryLegacyTest::testSuggestionPreprocessFunctions function core/tests/Drupal/KernelTests/Core/Theme/RegistryLegacyTest.php Tests the theme registry with theme functions with suggestions.
RegistryTest::testSuggestionPreprocessFunctions function core/tests/Drupal/KernelTests/Core/Theme/RegistryTest.php Tests the theme registry with suggestions.
RenderTest::testDrupalRenderThemePreprocessAttached function core/tests/Drupal/KernelTests/Core/Render/RenderTest.php Tests theme preprocess functions being able to attach assets.
SearchPreprocessLangcodeTest class core/modules/search/tests/src/Functional/SearchPreprocessLangcodeTest.php Tests that the search preprocessing uses the correct language code.
SearchPreprocessLangcodeTest.php file core/modules/search/tests/src/Functional/SearchPreprocessLangcodeTest.php
SearchPreprocessLangcodeTest::$defaultTheme property core/modules/search/tests/src/Functional/SearchPreprocessLangcodeTest.php The theme to install as the default for testing.
SearchPreprocessLangcodeTest::$modules property core/modules/search/tests/src/Functional/SearchPreprocessLangcodeTest.php Modules to enable.
SearchPreprocessLangcodeTest::$node property core/modules/search/tests/src/Functional/SearchPreprocessLangcodeTest.php Test node for searching.
SearchPreprocessLangcodeTest::setUp function core/modules/search/tests/src/Functional/SearchPreprocessLangcodeTest.php
SearchPreprocessLangcodeTest::testPreprocessLangcode function core/modules/search/tests/src/Functional/SearchPreprocessLangcodeTest.php Tests that hook_search_preprocess() returns the correct langcode.
SearchPreprocessLangcodeTest::testPreprocessStemming function core/modules/search/tests/src/Functional/SearchPreprocessLangcodeTest.php Tests stemming for hook_search_preprocess().
search_embedded_form_preprocess_search_result function core/modules/search/tests/modules/search_embedded_form/search_embedded_form.module Adds the test form to search results.
search_preprocess_block function core/modules/search/search.module Implements hook_preprocess_HOOK() for block templates.
settings_tray_preprocess_block function core/modules/settings_tray/settings_tray.module Implements hook_preprocess_HOOK() for block templates.
seven_preprocess_admin_block_content function core/themes/seven/seven.theme Implements hook_preprocess_HOOK() for block admin page templates.
seven_preprocess_block function core/themes/seven/seven.theme Implements hook_preprocess_block() for block content.
seven_preprocess_block_content_add_list function core/themes/seven/seven.theme Implements hook_preprocess_HOOK() for block content add list templates.
seven_preprocess_fieldset__media_library_widget function core/themes/seven/seven.theme @todo Remove this when https://www.drupal.org/project/drupal/issues/2999549
lands.
seven_preprocess_html function core/themes/seven/seven.theme Implements hook_preprocess_HOOK() for HTML document templates.
seven_preprocess_install_page function core/themes/seven/seven.theme Implements hook_preprocess_install_page().
seven_preprocess_item_list__media_library_add_form_media_list function core/themes/seven/seven.theme Implements hook_preprocess_item_list__media_library_add_form_media_list().
seven_preprocess_maintenance_page function core/themes/seven/seven.theme Implements hook_preprocess_maintenance_page().
seven_preprocess_media_library_item__small function core/themes/seven/seven.theme Implements hook_preprocess_media_library_item__small().
seven_preprocess_media_library_item__widget function core/themes/seven/seven.theme Implements hook_preprocess_media_library_item__widget().
seven_preprocess_menu_local_action function core/themes/seven/seven.theme Implements hook_preprocess_HOOK() for menu-local-action templates.
seven_preprocess_menu_local_task function core/themes/seven/seven.theme Implements hook_preprocess_HOOK() for menu-local-task templates.
seven_preprocess_menu_local_tasks function core/themes/seven/seven.theme Implements hook_preprocess_HOOK() for menu-local-tasks templates.
seven_preprocess_node_add_list function core/themes/seven/seven.theme Implements hook_preprocess_HOOK() for list of available node type templates.
seven_preprocess_update_version function core/themes/seven/seven.theme Prepares variables for update version templates.
seven_preprocess_views_view_fields__media_library function core/themes/seven/seven.theme Implements hook_preprocess_views_view_fields().
shortcut_preprocess_block function core/modules/shortcut/shortcut.module Implements hook_preprocess_HOOK() for block templates.
shortcut_preprocess_page_title function core/modules/shortcut/shortcut.module Implements hook_preprocess_HOOK() for page title templates.
stable_preprocess_image_widget function core/themes/stable/stable.theme Implements hook_preprocess_image_widget().
stable_preprocess_links function core/themes/stable/stable.theme Implements template_preprocess_links().
statistics_preprocess_block function core/modules/statistics/statistics.module Implements hook_preprocess_HOOK() for block templates.
system_preprocess_block function core/modules/system/system.module Implements hook_preprocess_HOOK() for block templates.
template_preprocess_admin_block_content function core/modules/system/system.admin.inc Prepares variables for administrative content block templates.
template_preprocess_admin_page function core/modules/system/system.admin.inc Prepares variables for administrative index page templates.
template_preprocess_aggregator_feed function core/modules/aggregator/aggregator.theme.inc Prepares variables for aggregator feed templates.
template_preprocess_aggregator_item function core/modules/aggregator/aggregator.theme.inc Prepares variables for aggregator item templates.
template_preprocess_authorize_report function core/includes/theme.maintenance.inc Prepares variables for authorize.php operation report templates.
template_preprocess_block function core/modules/block/block.module Prepares variables for block templates.
template_preprocess_block_content_add_list function core/modules/block_content/block_content.pages.inc Prepares variables for a custom block type creation list templates.
template_preprocess_book_all_books_block function core/modules/book/book.module Prepares variables for book listing block templates.
template_preprocess_book_export_html function core/modules/book/book.module Prepares variables for book export templates.

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