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 10.3.x for _preprocess_
  5. Other projects
Title Object type File name Summary
CommentThemeHooks::preprocessField function core/modules/comment/src/Hook/CommentThemeHooks.php Implements hook_preprocess_HOOK() for field templates.
Connection::preprocessStatement function core/lib/Drupal/Core/Database/Connection.php Returns a string SQL statement ready for preparation.
ContentModerationThemeHooks::preprocessNode function core/modules/content_moderation/src/Hook/ContentModerationThemeHooks.php Implements hook_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
ContentTranslationThemeHooks::preprocessLanguageContentSettingsTable function core/modules/content_translation/src/Hook/ContentTranslationThemeHooks.php 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.
DatePreprocess.php file core/lib/Drupal/Core/Datetime/DatePreprocess.php
DatePreprocess::preprocessDatetimeForm function core/lib/Drupal/Core/Datetime/DatePreprocess.php Prepares variables for datetime form element templates.
DatePreprocess::preprocessDatetimeWrapper function core/lib/Drupal/Core/Datetime/DatePreprocess.php Prepares variables for datetime form wrapper templates.
DatePreprocess::preprocessTime function core/lib/Drupal/Core/Datetime/DatePreprocess.php Prepares variables for time templates.
DatePreprocess::__construct function core/lib/Drupal/Core/Datetime/DatePreprocess.php
FieldPreprocess.php file core/lib/Drupal/Core/Field/FieldPreprocess.php
FieldPreprocess::preprocessField function core/lib/Drupal/Core/Field/FieldPreprocess.php Prepares variables for field templates.
FieldPreprocess::preprocessFieldMultipleValueForm function core/lib/Drupal/Core/Field/FieldPreprocess.php Prepares variables for individual form element templates.
FieldUiThemeHooks::preprocessFormElementNewStorageType function core/modules/field_ui/src/Hook/FieldUiThemeHooks.php Implements hook_preprocess_HOOK().
FormPreprocess.php file core/lib/Drupal/Core/Form/FormPreprocess.php
FormPreprocess::preprocessCheckboxes function core/lib/Drupal/Core/Form/FormPreprocess.php Prepares variables for checkboxes templates.
FormPreprocess::preprocessDetails function core/lib/Drupal/Core/Form/FormPreprocess.php Prepares variables for details element templates.
FormPreprocess::preprocessFieldset function core/lib/Drupal/Core/Form/FormPreprocess.php Prepares variables for fieldset element templates.
FormPreprocess::preprocessForm function core/lib/Drupal/Core/Form/FormPreprocess.php Prepares variables for form templates.
FormPreprocess::preprocessFormElement function core/lib/Drupal/Core/Form/FormPreprocess.php Returns HTML for a form element.
FormPreprocess::preprocessFormElementLabel function core/lib/Drupal/Core/Form/FormPreprocess.php Prepares variables for form label templates.
FormPreprocess::preprocessInput function core/lib/Drupal/Core/Form/FormPreprocess.php Prepares variables for input templates.
FormPreprocess::preprocessRadios function core/lib/Drupal/Core/Form/FormPreprocess.php Prepares variables for radios templates.
FormPreprocess::preprocessSelect function core/lib/Drupal/Core/Form/FormPreprocess.php Prepares variables for select element templates.
FormPreprocess::preprocessTextarea function core/lib/Drupal/Core/Form/FormPreprocess.php Prepares variables for textarea templates.
FormPreprocess::preprocessVerticalTabs function core/lib/Drupal/Core/Form/FormPreprocess.php Prepares variables for vertical tabs templates.
HelpThemeHooks::preprocessBlock function core/modules/help/src/Hook/HelpThemeHooks.php Implements hook_preprocess_HOOK() for block templates.
HookCollectorPass::$preprocessForSuggestions property core/lib/Drupal/Core/Hook/HookCollectorPass.php Preprocess suggestions discovered in modules.
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 variables for all templates.
ImagePreprocess.php file core/lib/Drupal/Core/Theme/ImagePreprocess.php
ImagePreprocess::preprocessImage function core/lib/Drupal/Core/Theme/ImagePreprocess.php Prepares variables for image templates.
ImagePreprocess::__construct function core/lib/Drupal/Core/Theme/ImagePreprocess.php
InlineFormErrorsThemeHooks::preprocessDatetimeWrapper function core/modules/inline_form_errors/src/Hook/InlineFormErrorsThemeHooks.php Implements hook_preprocess_HOOK() for datetime form wrapper templates.
InlineFormErrorsThemeHooks::preprocessDetails function core/modules/inline_form_errors/src/Hook/InlineFormErrorsThemeHooks.php Implements hook_preprocess_HOOK() for details element templates.
InlineFormErrorsThemeHooks::preprocessFieldset function core/modules/inline_form_errors/src/Hook/InlineFormErrorsThemeHooks.php Implements hook_preprocess_HOOK() for fieldset element templates.
InlineFormErrorsThemeHooks::preprocessFormElement function core/modules/inline_form_errors/src/Hook/InlineFormErrorsThemeHooks.php Implements hook_preprocess_HOOK() for form element templates.
JsDisplaceThemeHooks::preprocessHtml function core/modules/system/tests/modules/js_displace/src/Hook/JsDisplaceThemeHooks.php Implements hook_preprocess_HOOK().

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