Title: preprocess_ hooks can now be in classes · Issue #417 · drupal-code-builder/drupal-code-builder · GitHub
Open Graph Title: preprocess_ hooks can now be in classes · Issue #417 · drupal-code-builder/drupal-code-builder
X Title: preprocess_ hooks can now be in classes · Issue #417 · drupal-code-builder/drupal-code-builder
Description: e.g. /** * Implements hook_preprocess_HOOK() for block templates. */ #[Hook('preprocess_block')] public function preprocessBlock(&$variables): void { The determining of obligate procedural hooks should be version-specialised.
Open Graph Description: e.g. /** * Implements hook_preprocess_HOOK() for block templates. */ #[Hook('preprocess_block')] public function preprocessBlock(&$variables): void { The determining of obligate procedural hooks sh...
X Description: e.g. /** * Implements hook_preprocess_HOOK() for block templates. */ #[Hook('preprocess_block')] public function preprocessBlock(&$variables): void { The determining of obligate procedu...
Opengraph URL: https://github.com/drupal-code-builder/drupal-code-builder/issues/417
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"preprocess_ hooks can now be in classes","articleBody":"e.g.\n\n```\n /**\n * Implements hook_preprocess_HOOK() for block templates.\n */\n #[Hook('preprocess_block')]\n public function preprocessBlock(\u0026$variables): void {\n```\n\nThe determining of obligate procedural hooks should be version-specialised.","author":{"url":"https://github.com/joachim-n","@type":"Person","name":"joachim-n"},"datePublished":"2025-11-05T10:34:30.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/417/drupal-code-builder/issues/417"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:4e0bf808-a6e0-2995-32d4-208c68ab5026 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8D2A:1AB011:8738ABB:B96E0C8:6973AEF1 |
| html-safe-nonce | 8dc69a767fc8dd6d08dfb10a8433f39828989e0a4ffba25707c5a970a1e0ac86 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RDJBOjFBQjAxMTo4NzM4QUJCOkI5NkUwQzg6Njk3M0FFRjEiLCJ2aXNpdG9yX2lkIjoiNDU2OTA5MDE1Mzc1NzUxOTYwMSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | c4964b264620aa82eca92427326834bcf33b0a183eb85648b56ec13198fca955 |
| hovercard-subject-tag | issue:3590351544 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/drupal-code-builder/drupal-code-builder/417/issue_layout |
| twitter:image | https://opengraph.githubassets.com/90d638b5e0c7e58be55a74601b07d80d04610c606c54360aa4df7fb4ae68a0b9/drupal-code-builder/drupal-code-builder/issues/417 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/90d638b5e0c7e58be55a74601b07d80d04610c606c54360aa4df7fb4ae68a0b9/drupal-code-builder/drupal-code-builder/issues/417 |
| og:image:alt | e.g. /** * Implements hook_preprocess_HOOK() for block templates. */ #[Hook('preprocess_block')] public function preprocessBlock(&$variables): void { The determining of obligate procedural hooks sh... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | joachim-n |
| hostname | github.com |
| expected-hostname | github.com |
| None | 3e9aa9d0c22a21b13b378b4acd09f5dd4876a884425aacd32a9f473b84c8762d |
| turbo-cache-control | no-preview |
| go-import | github.com/drupal-code-builder/drupal-code-builder git https://github.com/drupal-code-builder/drupal-code-builder.git |
| octolytics-dimension-user_id | 17483076 |
| octolytics-dimension-user_login | drupal-code-builder |
| octolytics-dimension-repository_id | 52555754 |
| octolytics-dimension-repository_nwo | drupal-code-builder/drupal-code-builder |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 52555754 |
| octolytics-dimension-repository_network_root_nwo | drupal-code-builder/drupal-code-builder |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 9240c0b5247c88bacc8dffb46ecac04c94fd094b |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width