[development] Fatal error : install profiles and the use of hook_install

Gábor Hojtsy gabor at hojtsy.hu
Fri Nov 30 11:52:43 UTC 2007


On Nov 30, 2007 12:44 PM, adrian rossouw <adrian at bryght.com> wrote:
> On 30 Nov 2007, at 1:30 PM, Augustin (Beginner) wrote:
> A fix would probably imply an API change, so it will have to wait for
>
> D7. i want to turn install profiles into full featured modules for D7.
> and then give all modules / install profiles the same hooks (ie: all modules
> will have _final)
>
> writing an install profile at the moment requires you also write a support
> module for it, to contain
> a lot of the code you need for running the profile.

Well, well. In D6, after the built-in config screen (and even for the
built-in config screen which is alterable), Drupal is fully
bootstrapped with all enabled modules. You can have any number of
screens as wizards. Granted the install profile tasks system is a bit
custom solution for a task based wizard, but these kind of features
are there.

Obviously, the profile does not execute in the Drupal runtime, after
it is installed, so this part is not solved. (I have seen you have
plans to run "install profile modules" in runtime as well.)

Gabor


More information about the development mailing list