Search for _preprocess
- Search 7.x for _preprocess
- Search 9.5.x for _preprocess
- Search 8.9.x for _preprocess
- Search 10.3.x for _preprocess
- Search main for _preprocess
- Other projects
| Title | Object type | File name | Summary |
|---|---|---|---|
| CommentFieldPreprocessTest | class | core/ |
Test comment field preprocess hook. |
| CommentFieldPreprocessTest.php | file | core/ |
|
| CommentFieldPreprocessTest::$modules | property | core/ |
Modules to install. |
| CommentFieldPreprocessTest::testCommentFieldPreprocess | function | core/ |
Tests that CommentThemeHooks::preprocessField() injects variables. |
| CommentThemeHooks::preprocessBlock | function | core/ |
Implements hook_preprocess_HOOK() for block templates. |
| CommentThemeHooks::preprocessComment | function | core/ |
Prepares variables for comment templates. |
| CommentThemeHooks::preprocessField | function | core/ |
Implements hook_preprocess_HOOK() for field templates. |
| CommonTestThemeHooks::preprocess | function | core/ |
Implements hook_preprocess(). |
| Connection::preprocessStatement | function | core/ |
Returns a string SQL statement ready for preparation. |
| ContentModerationThemeHooks::preprocessNode | function | core/ |
Implements hook_preprocess_HOOK(). |
| ContentPreprocess | class | core/ |
Determines whether a route is the "Latest version" tab of a node. |
| ContentPreprocess.php | file | core/ |
|
| ContentPreprocess::$routeMatch | property | core/ |
The route match service. |
| ContentPreprocess::create | function | core/ |
Instantiates a new instance of this class. |
| ContentPreprocess::isLatestVersionPage | function | core/ |
Checks whether a route is the "Latest version" tab of a node. |
| ContentPreprocess::preprocessNode | function | core/ |
|
| ContentPreprocess::__construct | function | core/ |
Constructor. |
| ContentPreprocessTest | class | core/ |
Tests Drupal\content_moderation\ContentPreprocess. |
| ContentPreprocessTest.php | file | core/ |
|
| ContentPreprocessTest::routeNodeProvider | function | core/ |
Data provider for self::testIsLatestVersionPage(). |
| ContentPreprocessTest::setupCurrentRouteMatch | function | core/ |
Mock the current route matching object. |
| ContentPreprocessTest::setupNode | function | core/ |
Mock a node object. |
| ContentPreprocessTest::testIsLatestVersionPage | function | core/ |
Tests is latest version page. |
| ContentTranslationThemeHooks::preprocessLanguageContentSettingsTable | function | core/ |
Implements hook_preprocess_HOOK() for language-content-settings-table.html.twig. |
| ContextualThemeHooks::preprocess | function | core/ |
Implements hook_preprocess(). |
| CssOptimizerUnitTest::testTypeFilePreprocessingDisabled | function | core/ |
Tests a file CSS asset with preprocessing disabled. |
| DatePreprocess | class | core/ |
Preprocess for common/core theme templates. |
| DatePreprocess.php | file | core/ |
|
| DatePreprocess::preprocessDatetimeForm | function | core/ |
Prepares variables for datetime form element templates. |
| DatePreprocess::preprocessDatetimeWrapper | function | core/ |
Prepares variables for datetime form wrapper templates. |
| DatePreprocess::preprocessTime | function | core/ |
Prepares variables for time templates. |
| DatePreprocess::__construct | function | core/ |
|
| Drupal\Core\Breadcrumb\BreadcrumbPreprocess | service | core/ |
Drupal\Core\Breadcrumb\BreadcrumbPreprocess |
| Drupal\Core\Datetime\DatePreprocess | service | core/ |
Drupal\Core\Datetime\DatePreprocess |
| Drupal\Core\Field\FieldPreprocess | service | core/ |
Drupal\Core\Field\FieldPreprocess |
| Drupal\Core\Form\FormPreprocess | service | core/ |
Drupal\Core\Form\FormPreprocess |
| Drupal\Core\Menu\MenuPreprocess | service | core/ |
Drupal\Core\Menu\MenuPreprocess |
| Drupal\Core\Pager\PagerPreprocess | service | core/ |
Drupal\Core\Pager\PagerPreprocess |
| Drupal\Core\Theme\ImagePreprocess | service | core/ |
Drupal\Core\Theme\ImagePreprocess |
| Drupal\Core\Theme\ThemePreprocess | service | core/ |
Drupal\Core\Theme\ThemePreprocess |
| Drupal\system\Theme\SystemAdminThemePreprocess | service | core/ |
Drupal\system\Theme\SystemAdminThemePreprocess |
| FieldPreprocess | class | core/ |
Field theme preprocess. |
| FieldPreprocess.php | file | core/ |
|
| FieldPreprocess::preprocessField | function | core/ |
Prepares variables for field templates. |
| FieldPreprocess::preprocessFieldMultipleValueForm | function | core/ |
Prepares variables for individual form element templates. |
| FieldUiThemeHooks::preprocessFormElementNewStorageType | function | core/ |
Implements hook_preprocess_HOOK(). |
| FileThemeHooks::preprocessFileLink | function | core/ |
Prepares variables for file link templates. |
| FileThemeHooks::preprocessFileUploadHelp | function | core/ |
Prepares variables for file upload help text templates. |
| FileThemeHooks::preprocessFileWidgetMultiple | function | core/ |
Prepares variables for multi file form widget templates. |
| FileThemeHooks::preprocessManagedFile | function | core/ |
Prepares variables for file form widget templates. |
Pagination
- Previous page
- Page 2
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.