key=value...                              any additional settings you wish to pass to the profile. Fully
                                           supported on D7+, partially supported on D6 (single step configure
                                           forms only). The key is in the form [form name].[parameter name] on
                                           D7 or just [parameter name] on D6.

This is a bit confusing.

- [form name] should be 'the name of the task as defined in hook_install_tasks().
- [parameter name] should be 'the array key of the form element in the form builder.

At least that's what is working for me! :)

Comments

moshe weitzman’s picture

Priority: Normal » Minor

Thanks. Do othrs find this to be an improvement? The term 'parameter' is appropriate from the perspective of params to install_drupal().

joachim’s picture

Ah. I didn't know about install_drupal().

The documentation at http://api.drupal.org/api/drupal/includes!install.core.inc/function/inst... is even worse!

So I guess we could change the drush docs to point to that, and I can file an issue on core to improve those docs. Makes sense to have the explanation in the most central place possible.

joachim’s picture

Ah ok, there's a link through to install_state_defaults which says:

the keys of each element indicate the name of the installation task that the form submission is for, and the values are used as the $form_state['values'] array that is passed on to the form submission via drupal_form_submit()).

So that's pretty clear.

So if drush help could link through to that, that would be great!

greg.1.anderson’s picture

Status: Active » Closed (won't fix)
Issue tags: +Needs migration

This issue was marked closed (won't fix) because Drush has moved to Github.

If desired, you may copy this task to our Github project and then post a link here to the new issue. Please also change the status of this issue to closed (duplicate).

Please ask support questions on Drupal Answers.