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
claro_preprocess_views_view_table function core/themes/claro/claro.theme Implements template_preprocess_HOOK() for views_view_table.
classy_preprocess_image_widget function core/themes/classy/classy.theme Implements hook_preprocess_image_widget().
classy_preprocess_links__media_library_menu function core/themes/classy/classy.theme Implements hook_preprocess_links__media_library_menu().
comment_empty_titles_test_preprocess_comment function core/modules/comment/tests/modules/comment_empty_title_test/comment_empty_title_test.module Implements hook_preprocess_comment().
comment_preprocess_block function core/modules/comment/comment.module Implements hook_preprocess_HOOK() for block templates.
comment_preprocess_field function core/modules/comment/comment.module Prepares variables for comment field templates.
common_test_preprocess_common_test_render_element function core/modules/system/tests/modules/common_test/common_test.module Implements MODULE_preprocess_HOOK().
ContentPreprocess.php file core/modules/content_moderation/src/ContentPreprocess.php
ContentPreprocess::$routeMatch property core/modules/content_moderation/src/ContentPreprocess.php The route match service.
ContentPreprocess::create function core/modules/content_moderation/src/ContentPreprocess.php Instantiates a new instance of this class.
ContentPreprocess::isLatestVersionPage function core/modules/content_moderation/src/ContentPreprocess.php Checks whether a route is the "Latest version" tab of a node.
ContentPreprocess::preprocessNode function core/modules/content_moderation/src/ContentPreprocess.php
ContentPreprocess::__construct function core/modules/content_moderation/src/ContentPreprocess.php Constructor.
ContentPreprocessTest class core/modules/content_moderation/tests/src/Unit/ContentPreprocessTest.php @coversDefaultClass \Drupal\content_moderation\ContentPreprocess[[api-linebreak]]
ContentPreprocessTest.php file core/modules/content_moderation/tests/src/Unit/ContentPreprocessTest.php
ContentPreprocessTest::routeNodeProvider function core/modules/content_moderation/tests/src/Unit/ContentPreprocessTest.php Data provider for self::testIsLatestVersionPage().
ContentPreprocessTest::setupCurrentRouteMatch function core/modules/content_moderation/tests/src/Unit/ContentPreprocessTest.php Mock the current route matching object.
ContentPreprocessTest::setupNode function core/modules/content_moderation/tests/src/Unit/ContentPreprocessTest.php Mock a node object.
ContentPreprocessTest::testIsLatestVersionPage function core/modules/content_moderation/tests/src/Unit/ContentPreprocessTest.php @covers ::isLatestVersionPage[[api-linebreak]]
@dataProvider routeNodeProvider
content_moderation_preprocess_node function core/modules/content_moderation/content_moderation.module Implements hook_preprocess_HOOK().
content_translation_preprocess_language_content_settings_table function core/modules/content_translation/content_translation.module Implements hook_preprocess_HOOK() for language-content-settings-table.html.twig.
CssOptimizerUnitTest::testTypeFilePreprocessingDisabled function core/tests/Drupal/Tests/Core/Asset/CssOptimizerUnitTest.php Tests a file CSS asset with preprocessing disabled.
forum_preprocess_block function core/modules/forum/forum.module Implements hook_preprocess_HOOK() for block templates.
help_preprocess_block function core/modules/help/help.module Implements hook_preprocess_HOOK() for block templates.
hook_preprocess_HOOK function core/lib/Drupal/Core/Render/theme.api.php Preprocess theme variables for a specific theme hook.
hook_template_preprocess_default_variables_alter function core/lib/Drupal/Core/Render/theme.api.php Alter the default, hook-independent variables for all templates.
inline_form_errors_preprocess_datetime_wrapper function core/modules/inline_form_errors/inline_form_errors.module Implements hook_preprocess_HOOK() for datetime form wrapper templates.
inline_form_errors_preprocess_details function core/modules/inline_form_errors/inline_form_errors.module Implements hook_preprocess_HOOK() for details element templates.
inline_form_errors_preprocess_fieldset function core/modules/inline_form_errors/inline_form_errors.module Implements hook_preprocess_HOOK() for fieldset element templates.
inline_form_errors_preprocess_form_element function core/modules/inline_form_errors/inline_form_errors.module Implements hook_preprocess_HOOK() for form element templates.
language_preprocess_block function core/modules/language/language.module Implements hook_preprocess_HOOK() for block templates.
layout_builder_preprocess_language_content_settings_table function core/modules/layout_builder/layout_builder.module Implements hook_preprocess_HOOK() for language-content-settings-table.html.twig.
layout_builder_theme_suggestions_test_preprocess_item_list__layouts function core/modules/layout_builder/tests/modules/layout_builder_theme_suggestions_test/layout_builder_theme_suggestions_test.module Implements hook_preprocess_HOOK() for the list of layouts.
locale_preprocess_node function core/modules/locale/locale.module Implements hook_preprocess_HOOK() for node templates.
media_library_preprocess_media function core/modules/media_library/media_library.module Implements hook_preprocess_media().
media_library_preprocess_views_view_fields function core/modules/media_library/media_library.module Implements hook_preprocess_views_view_fields().
media_library_preprocess_views_view__media_library function core/modules/media_library/media_library.module Implements hook_preprocess_views_view() for the 'media_library' view.
media_preprocess_media_reference_help function core/modules/media/media.module Implements hook_preprocess_HOOK() for media reference widgets.
media_test_ckeditor_preprocess_media_embed_error function core/modules/media/tests/modules/media_test_ckeditor/media_test_ckeditor.module Implements hook_preprocess_HOOK().
media_test_filter_preprocess_media_embed_error function core/modules/media/tests/modules/media_test_filter/media_test_filter.module Implements hook_preprocess_HOOK().
menu_ui_preprocess_block function core/modules/menu_ui/menu_ui.module Implements hook_preprocess_HOOK() for block templates.
node_preprocess_block function core/modules/node/node.module Implements hook_preprocess_HOOK() for block templates.
node_preprocess_html function core/modules/node/node.module Implements hook_preprocess_HOOK() for HTML document templates.
pager_test_preprocess_pager function core/modules/system/tests/modules/pager_test/pager_test.module Implements hook_preprocess_HOOK().
quickedit_preprocess_field function core/modules/quickedit/quickedit.module Implements hook_preprocess_HOOK() for field templates.
quickedit_preprocess_page_title function core/modules/quickedit/quickedit.module Implements hook_preprocess_HOOK() for the page title template.
rdf_preprocess_comment function core/modules/rdf/rdf.module Implements hook_preprocess_HOOK() for comment templates.
rdf_preprocess_field__node__uid function core/modules/rdf/rdf.module Implements hook_preprocess_HOOK() for UID field templates.
rdf_preprocess_html function core/modules/rdf/rdf.module Implements hook_preprocess_HOOK() for HTML document templates.
rdf_preprocess_image function core/modules/rdf/rdf.module Implements hook_preprocess_HOOK() for image.html.twig.

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