Search for _preprocess_

  1. Search 7.x for _preprocess_
  2. Search 9.5.x for _preprocess_
  3. Search 8.9.x for _preprocess_
  4. Search 11.x for _preprocess_
  5. Other projects
Title Object type File name Summary
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.
field_ui_preprocess_form_element__new_storage_type function core/modules/field_ui/field_ui.module Implements hook_preprocess_HOOK().
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.
js_displace_preprocess_html function core/modules/system/tests/modules/js_displace/js_displace.module Implements hook_preprocess_html().
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_test_preprocess_layout__onecol function core/modules/layout_builder/tests/modules/layout_builder_test/layout_builder_test.module Implements hook_preprocess_HOOK() for one-column layout template.
layout_builder_test_preprocess_layout__twocol_section function core/modules/layout_builder/tests/modules/layout_builder_test/layout_builder_test.module Implements hook_preprocess_HOOK() for two-column layout template.
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.
LegacyFileThemeTest::testTemplatePreprocessFileUploadHelp function core/modules/file/tests/src/Kernel/LegacyFileThemeTest.php @covers ::template_preprocess_file_upload_help[[api-linebreak]]
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_embed_preprocess_media_embed_error function core/modules/media/tests/modules/media_test_embed/media_test_embed.module Implements hook_preprocess_HOOK().
media_test_oembed_preprocess_media_oembed_iframe function core/modules/media/tests/modules/media_test_oembed/media_test_oembed.module Implements hook_preprocess_media_oembed_iframe().
menu_ui_preprocess_block function core/modules/menu_ui/menu_ui.module Implements hook_preprocess_HOOK() for block templates.
navigation_test_preprocess_block__navigation function core/modules/navigation/tests/navigation_test/navigation_test.module Implements hook_preprocess_HOOK().
node_preprocess_block function core/modules/node/node.module Implements hook_preprocess_HOOK() for block templates.
node_preprocess_field__node function core/modules/node/node.module Implements hook_preprocess_HOOK() for node field templates.
node_preprocess_html function core/modules/node/node.module Implements hook_preprocess_HOOK() for HTML document templates.
OliveroTest::testPreprocessBlock function core/tests/Drupal/FunctionalTests/Theme/OliveroTest.php Tests that olivero_preprocess_block is functioning as expected.
olivero_preprocess_block function core/themes/olivero/olivero.theme Implements hook_preprocess_HOOK() for block.html.twig.
olivero_preprocess_checkboxes function core/themes/olivero/olivero.theme Implements hook_preprocess_HOOK().
olivero_preprocess_comment function core/themes/olivero/olivero.theme Implements hook_preprocess_HOOK() for comment.html.twig.
olivero_preprocess_field function core/themes/olivero/olivero.theme Implements hook_preprocess_HOOK().
olivero_preprocess_fieldset function core/themes/olivero/olivero.theme Implements template_preprocess_HOOK() for fieldset.
olivero_preprocess_field_multiple_value_form function core/themes/olivero/olivero.theme Implements hook_preprocess_HOOK().
olivero_preprocess_field__comment function core/themes/olivero/olivero.theme Implements hook_preprocess_HOOK() for field--comment.html.twig.

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