refactor(install): move the installer to Twig
The installer gets the environment the plan reserved for it: it runs before
there is a site, so its templates see no visitor, no csrf token and no modules,
only the theme it ships with.
- the five steps and the layout become @install/*.twig; the namespace comes
from InstallTemplatePaths, so a theme can override any of them
- the steps pass their data explicitly instead of pushing it into a shared
engine with addData()
- the repeated field markup of steps 3 and 4 became a macro, and the field
errors go through the component the rest of the site uses
Nothing renders Plates any more; the package stays until the classes around it
are removed.
there is a site, so its templates see no visitor, no csrf token and no modules,
only the theme it ships with.
- the five steps and the layout become @install/*.twig; the namespace comes
from InstallTemplatePaths, so a theme can override any of them
- the steps pass their data explicitly instead of pushing it into a shared
engine with addData()
- the repeated field markup of steps 3 and 4 became a macro, and the field
errors go through the component the rest of the site uses
Nothing renders Plates any more; the package stays until the classes around it
are removed.