Move some rebuilds outside of Drupal

Created on 28 December 2011, over 13 years ago
Updated 11 July 2023, almost 2 years ago

There are a number of rebuilds that can be done as static code analysis. The advantage is, of course, breaking a lot of chicken-egg problems. The class registry is one. The oft-debated hook registry is another. Right now we are building this on-the-fly using the cache layer but this is not quite cache. This of course requires πŸ“Œ Use something other than a single underscore for hook namespacing Closed: duplicate . For radical simplifying we could do the theme registry as well -- we are already passing in a single variables array and so hook_theme() is much less necessary. So based on the name of functions and the .tpl.php we can build up the theme registry. It'd be great to have CMI for storing this. We will figure it out what to use instead for now.

When you enable a module then a rebuild.php runs. If you add a new theme function / hook, you run the same.

πŸ“Œ Task
Status

Postponed: needs info

Version

9.5

Component
BaseΒ  β†’

Last updated about 6 hours ago

Created by

πŸ‡¨πŸ‡¦Canada chx

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024