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. Search main for _preprocess
  6. Other projects
Title Object type File name Summary
CommentFieldPreprocessTest class core/modules/comment/tests/src/Kernel/CommentFieldPreprocessTest.php Test comment field preprocess hook.
CommentFieldPreprocessTest.php file core/modules/comment/tests/src/Kernel/CommentFieldPreprocessTest.php
CommentFieldPreprocessTest::$modules property core/modules/comment/tests/src/Kernel/CommentFieldPreprocessTest.php Modules to install.
CommentFieldPreprocessTest::testCommentFieldPreprocess function core/modules/comment/tests/src/Kernel/CommentFieldPreprocessTest.php Tests that CommentThemeHooks::preprocessField() injects variables.
CommentThemeHooks::preprocessBlock function core/modules/comment/src/Hook/CommentThemeHooks.php Implements hook_preprocess_HOOK() for block templates.
CommentThemeHooks::preprocessComment function core/modules/comment/src/Hook/CommentThemeHooks.php Prepares variables for comment templates.
CommentThemeHooks::preprocessField function core/modules/comment/src/Hook/CommentThemeHooks.php Implements hook_preprocess_HOOK() for field templates.
CommonTestThemeHooks::preprocess function core/modules/system/tests/modules/common_test/src/Hook/CommonTestThemeHooks.php Implements hook_preprocess().
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 class core/modules/content_moderation/src/ContentPreprocess.php Determines whether a route is the "Latest version" tab of a node.
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 Tests Drupal\content_moderation\ContentPreprocess.
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 Tests is latest version page.
ContentTranslationThemeHooks::preprocessLanguageContentSettingsTable function core/modules/content_translation/src/Hook/ContentTranslationThemeHooks.php Implements hook_preprocess_HOOK() for language-content-settings-table.html.twig.
ContextualThemeHooks::preprocess function core/modules/contextual/src/Hook/ContextualThemeHooks.php Implements hook_preprocess().
CssOptimizerUnitTest::testTypeFilePreprocessingDisabled function core/tests/Drupal/Tests/Core/Asset/CssOptimizerUnitTest.php Tests a file CSS asset with preprocessing disabled.
DatePreprocess class core/lib/Drupal/Core/Datetime/DatePreprocess.php Preprocess for common/core theme templates.
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
Drupal\Core\Breadcrumb\BreadcrumbPreprocess service core/core.services.yml Drupal\Core\Breadcrumb\BreadcrumbPreprocess
Drupal\Core\Datetime\DatePreprocess service core/core.services.yml Drupal\Core\Datetime\DatePreprocess
Drupal\Core\Field\FieldPreprocess service core/core.services.yml Drupal\Core\Field\FieldPreprocess
Drupal\Core\Form\FormPreprocess service core/core.services.yml Drupal\Core\Form\FormPreprocess
Drupal\Core\Menu\MenuPreprocess service core/core.services.yml Drupal\Core\Menu\MenuPreprocess
Drupal\Core\Pager\PagerPreprocess service core/core.services.yml Drupal\Core\Pager\PagerPreprocess
Drupal\Core\Theme\ImagePreprocess service core/core.services.yml Drupal\Core\Theme\ImagePreprocess
Drupal\Core\Theme\ThemePreprocess service core/core.services.yml Drupal\Core\Theme\ThemePreprocess
Drupal\system\Theme\SystemAdminThemePreprocess service core/modules/system/system.services.yml Drupal\system\Theme\SystemAdminThemePreprocess
FieldPreprocess class core/lib/Drupal/Core/Field/FieldPreprocess.php Field theme preprocess.
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().
FileThemeHooks::preprocessFileLink function core/modules/file/src/Hook/FileThemeHooks.php Prepares variables for file link templates.
FileThemeHooks::preprocessFileUploadHelp function core/modules/file/src/Hook/FileThemeHooks.php Prepares variables for file upload help text templates.
FileThemeHooks::preprocessFileWidgetMultiple function core/modules/file/src/Hook/FileThemeHooks.php Prepares variables for multi file form widget templates.
FileThemeHooks::preprocessManagedFile function core/modules/file/src/Hook/FileThemeHooks.php Prepares variables for file form widget templates.

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