Active
Project:
Drupal core
Version:
main
Component:
base system
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
7 Apr 2015 at 19:59 UTC
Updated:
15 Jul 2021 at 09:33 UTC
Jump to comment: Most recent
If you do lets go for the later rather then the former. preHandle() is connect to handle() not to boot() as is suggested by the name so lets not change that. boot's responsibility is suppose to be the most basic of tasks, mostly just getting a container. You should be able to boot a kernel and interact with that container without triggering those heavy legacy processing or doing any significant "bootstrapping". IMHO, anything in preHandle() is de facto deprecated as all "bootstrap" behaviors should be in the container going forward.
Comments
Comment #9
andypost